aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-07-08 12:18:41 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-07-08 23:02:34 +0200
commit9f80512a11926c5ec3f869ad5e220b3b350eec9a (patch)
treefc866d63d183d881234e5aa446458e8217b49c9a /src/device
parente313998a1c654573add92c8a71a0c3a0cf22ece9 (diff)
downloadnitrokey-rs-9f80512a11926c5ec3f869ad5e220b3b350eec9a.tar.gz
nitrokey-rs-9f80512a11926c5ec3f869ad5e220b3b350eec9a.tar.bz2
Remove unused imports
Diffstat (limited to 'src/device')
-rw-r--r--src/device/mod.rs2
-rw-r--r--src/device/pro.rs2
-rw-r--r--src/device/storage.rs2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/device/mod.rs b/src/device/mod.rs
index 067fdf6..5082537 100644
--- a/src/device/mod.rs
+++ b/src/device/mod.rs
@@ -10,8 +10,6 @@ use std::ffi;
use std::fmt;
use std::str;
-use nitrokey_sys;
-
use crate::auth::Authenticate;
use crate::config::{Config, RawConfig};
use crate::error::{CommunicationError, Error, LibraryError};
diff --git a/src/device/pro.rs b/src/device/pro.rs
index 591b730..0d5443e 100644
--- a/src/device/pro.rs
+++ b/src/device/pro.rs
@@ -1,8 +1,6 @@
// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
// SPDX-License-Identifier: MIT
-use nitrokey_sys;
-
use crate::device::{Device, Model, Status};
use crate::error::Error;
use crate::otp::GenerateOtp;
diff --git a/src/device/storage.rs b/src/device/storage.rs
index 5669a91..a18d94f 100644
--- a/src/device/storage.rs
+++ b/src/device/storage.rs
@@ -5,8 +5,6 @@ use std::convert::TryFrom as _;
use std::fmt;
use std::ops;
-use nitrokey_sys;
-
use crate::device::{Device, FirmwareVersion, Model, SerialNumber, Status};
use crate::error::{CommandError, Error};
use crate::otp::GenerateOtp;