summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:49 +0100
committerRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:49 +0100
commit1c6b4d4dfd498c4127a076c48b6c37e05eaacb62 (patch)
treeacd8c4935c1894a4e26ffd2d6c23a435c07931ec /CHANGELOG.md
parent62d698db4941c06905cb08bdbe4cc35ad54132d5 (diff)
downloadnitrokey-rs-1c6b4d4dfd498c4127a076c48b6c37e05eaacb62.tar.gz
nitrokey-rs-1c6b4d4dfd498c4127a076c48b6c37e05eaacb62.tar.bz2
Derive Clone and Copy for CommandError, LogLevel, OtpMode
As these three enums are scalar values, this patch derives the Clone and Copy traits for them. This should avoid unnecessary allocations and reduce the memory footprint.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a30e531..11092ec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,8 @@
- Remove the `test-no-device` feature.
- Update the rand dependency to version 0.6.
- Add function `Device::get_model` that returns the connected model.
+- Derive the `Copy` and `Clone` traits for the enums `CommandError`, `LogLevel`
+ and `OtpMode`
# v0.2.1 (2018-12-10)