aboutsummaryrefslogtreecommitdiff
path: root/src/device.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/device.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/device.rs')
-rw-r--r--src/device.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/device.rs b/src/device.rs
index cbc826e..86dcc58 100644
--- a/src/device.rs
+++ b/src/device.rs
@@ -1,10 +1,11 @@
-use auth::Authenticate;
-use config::{Config, RawConfig};
use libc;
use nitrokey_sys;
-use otp::GenerateOtp;
-use pws::GetPasswordSafe;
-use util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError};
+
+use crate::auth::Authenticate;
+use crate::config::{Config, RawConfig};
+use crate::otp::GenerateOtp;
+use crate::pws::GetPasswordSafe;
+use crate::util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError};
/// Available Nitrokey models.
#[derive(Debug, PartialEq)]