From 3a54a0ecb400a2db0eebc5be336511dfbaeb9252 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 14 Nov 2021 12:37:57 -0700 Subject: [PATCH] pkcs8: re-export `spki` crate (#210) This makes it possible to access things like `spki::Error` without having to re-export all of them --- Cargo.lock | 1 - pkcs8/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index df6cd4ab1..0b739b15c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d174cafe51590ef0e0a6e540b9ffc8b35a1ff47fb3adda3ab272bcc9f5bfc86c" dependencies = [ "generic-array", - "rand_core", "subtle", ] diff --git a/pkcs8/src/lib.rs b/pkcs8/src/lib.rs index 5d6f98a48..21151604c 100644 --- a/pkcs8/src/lib.rs +++ b/pkcs8/src/lib.rs @@ -97,7 +97,7 @@ pub use crate::{ version::Version, }; pub use der::{self, asn1::ObjectIdentifier}; -pub use spki::{AlgorithmIdentifier, DecodePublicKey, SubjectPublicKeyInfo}; +pub use spki::{self, AlgorithmIdentifier, DecodePublicKey, SubjectPublicKeyInfo}; #[cfg(feature = "alloc")] pub use {