aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-16 12:29:08 +0100
committerRobin Krahl <robin.krahl@ireas.org>2018-12-16 12:29:08 +0100
commitb552a92bcc6ffd59b5b780b12cab4a25aa5812d2 (patch)
treee0d9c4fb17c14aba407d6fb165dda0922d4bd7c9 /src/lib.rs
parent048d4fa5529bf33e21f11873792cdacfcaf7793f (diff)
downloadnitrokey-rs-b552a92bcc6ffd59b5b780b12cab4a25aa5812d2.tar.gz
nitrokey-rs-b552a92bcc6ffd59b5b780b12cab4a25aa5812d2.tar.bz2
Use the crate:: path qualifier for modules
This patch changes use declarations for modules within this crate to use the crate:: path qualifier. This will be mandatory in Rust edition 2018.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2466117..aab717b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -104,12 +104,12 @@ mod pws;
mod tests;
mod util;
-pub use auth::{Admin, Authenticate, User};
-pub use config::Config;
-pub use device::{connect, Device, DeviceWrapper, Pro, Storage, StorageStatus, VolumeStatus};
-pub use otp::{ConfigureOtp, GenerateOtp, OtpMode, OtpSlotData};
-pub use pws::{GetPasswordSafe, PasswordSafe, SLOT_COUNT};
-pub use util::{CommandError, LogLevel};
+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::otp::{ConfigureOtp, GenerateOtp, OtpMode, OtpSlotData};
+pub use crate::pws::{GetPasswordSafe, PasswordSafe, SLOT_COUNT};
+pub use crate::util::{CommandError, LogLevel};
/// Enables or disables debug output. Calling this method with `true` is equivalent to setting the
/// log level to `Debug`; calling it with `false` is equivalent to the log level `Error` (see