Skip to content

Commit

Permalink
remove extern crate std
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 4, 2024
1 parent ee1030e commit 4719f44
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion sha1-checked/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.8"
sha1 = { version = "=0.11.0-pre.3", features = [], path = "../sha1" }
sha1 = { version = "=0.11.0-pre.3", default-features = false, path = "../sha1" }

[dev-dependencies]
digest = { version = "=0.11.0-pre.8", features = ["dev"] }
Expand Down
3 changes: 0 additions & 3 deletions sha1-checked/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ pub use digest::{self, Digest};

use core::slice::from_ref;

#[cfg(feature = "std")]
extern crate std;

#[cfg(feature = "zeroize")]
use digest::zeroize::{Zeroize, ZeroizeOnDrop};
use digest::{
Expand Down
3 changes: 0 additions & 3 deletions sha1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ use digest::const_oid::{AssociatedOid, ObjectIdentifier};
#[cfg(feature = "zeroize")]
use digest::zeroize::{Zeroize, ZeroizeOnDrop};

#[cfg(feature = "std")]
extern crate std;

mod compress;

pub use compress::compress;
Expand Down

0 comments on commit 4719f44

Please sign in to comment.