Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/aead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features stream

test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -50,6 +52,6 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo check --all-features
- run: cargo test --no-default-features --release
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --all-features --release
- run: cargo test --release --all-features
3 changes: 2 additions & 1 deletion aead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ blobby = { version = "0.3", optional = true }
[features]
default = ["alloc"]
alloc = []
std = ["alloc"]
dev = ["blobby"]
std = ["alloc"]
stream = []

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 4 additions & 0 deletions aead/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ extern crate std;
#[cfg_attr(docsrs, doc(cfg(feature = "dev")))]
pub mod dev;

#[cfg(feature = "stream")]
#[cfg_attr(docsrs, doc(cfg(feature = "stream")))]
pub mod stream;

pub use generic_array::{self, typenum::consts};

#[cfg(feature = "heapless")]
Expand Down
Loading