aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:23 +0100
committerRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:23 +0100
commit3d951ab54daea9c362bdae2e0945701955c412e5 (patch)
treefeeee31249946184590ada8ec378aef2eb8a4382 /src/lib.rs
parente2d333574f54bf57a1bba970dbbfe5844ef8bf0d (diff)
downloadnitrokey-rs-3d951ab54daea9c362bdae2e0945701955c412e5.tar.gz
nitrokey-rs-3d951ab54daea9c362bdae2e0945701955c412e5.tar.bz2
Add function Device::get_model
This patch adds the function Device::get_model that returns the model of the connected Nitrokey stick.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d0e4357..37f839a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -102,7 +102,7 @@ use nitrokey_sys;
pub use crate::auth::{Admin, Authenticate, User};
pub use crate::config::Config;
-pub use crate::device::{connect, Device, DeviceWrapper, Pro, Storage, StorageStatus, VolumeStatus};
+pub use crate::device::{connect, Device, DeviceWrapper, Model, Pro, Storage, StorageStatus, VolumeStatus};
pub use crate::otp::{ConfigureOtp, GenerateOtp, OtpMode, OtpSlotData};
pub use crate::pws::{GetPasswordSafe, PasswordSafe, SLOT_COUNT};
pub use crate::util::{CommandError, LogLevel};