Skip to content

Commit

Permalink
Build fix on nightly
Browse files Browse the repository at this point in the history
Drop `Which` from simd swizzle, remove unused imports.
  • Loading branch information
brndnmtthws committed Dec 10, 2023
1 parent f623c85 commit bc601bf
Show file tree
Hide file tree
Showing 12 changed files with 142 additions and 159 deletions.
1 change: 0 additions & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned secret key for the generic hash algorithm,
/// for use with protected memory.
Expand Down
285 changes: 142 additions & 143 deletions src/blake2b/blake2b_simd.rs

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/bytes_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,3 @@ mod protected {
}
}
}

#[cfg(any(feature = "nightly", all(doc, not(doctest))))]
pub use protected::*;
2 changes: 0 additions & 2 deletions src/dryocbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ pub mod protected {
//! assert_eq!(message.as_slice(), decrypted.as_slice());
//! ```
use super::*;
pub use crate::keypair::protected::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned public key for authenticated public-key
/// boxes, for use with protected memory.
Expand Down
1 change: 0 additions & 1 deletion src/dryocsecretbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned secret for authenticated secret box, for
/// use with protected memory.
Expand Down
1 change: 0 additions & 1 deletion src/dryocstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned secret key for authenticated secret
/// streams, for use with protected memory.
Expand Down
1 change: 0 additions & 1 deletion src/generichash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned secret key for the generic hash algorithm,
/// for use with protected memory.
Expand Down
1 change: 0 additions & 1 deletion src/kdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned key type alias for key derivation with
/// [`Kdf`].
Expand Down
2 changes: 0 additions & 2 deletions src/kx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::keypair::protected::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, paged-aligned session key type alias for use with
/// protected memory
Expand Down
1 change: 0 additions & 1 deletion src/onetimeauth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned secret key for the generic hash algorithm,
/// for use with protected memory.
Expand Down
1 change: 0 additions & 1 deletion src/pwhash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ pub mod protected {
//! ```
use super::*;
pub use crate::protected::*;
pub use crate::types::*;

/// Heap-allocated, page-aligned salt type alias for protected password
/// hashing with [`PwHash`].
Expand Down
2 changes: 0 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use std::convert::TryFrom;
use lazy_static::__Deref;
use zeroize::{Zeroize, ZeroizeOnDrop};

#[cfg(feature = "serde")]
pub use crate::bytes_serde::*;
use crate::rng::copy_randombytes;

/// A stack-allocated fixed-length byte array for working with data, with
Expand Down

0 comments on commit bc601bf

Please sign in to comment.