Skip to content

Commit 84375ff

Browse files
signatory: fix unused import warnings (#1187)
1 parent c6b4711 commit 84375ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

signatory/src/key/store.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
#[cfg(feature = "std")]
44
pub(crate) mod fs;
55

6-
#[cfg(feature = "std")]
7-
pub use fs::FsKeyStore;
8-
96
/// Trait for generating PKCS#8-encoded private keys.
107
pub trait GeneratePkcs8 {
118
/// Randomly generate a new PKCS#8 private key.

signatory/src/key/store/fs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ mod tests {
141141

142142
pub const EXAMPLE_KEY: &str = "example-key";
143143

144+
/// We need this to live as long as the test case, so store it here for RAII purposes
145+
#[allow(dead_code)]
144146
pub struct FsStoreHandle {
145147
pub keystore: FsKeyStore,
146148
pub dir: tempfile::TempDir,

0 commit comments

Comments
 (0)