Skip to content

Commit 55cfbba

Browse files
authored
Merge pull request #150 from RustCrypto/k12/use-digest-crate-alloc-feature
k12: use `digest` crate's `alloc` feature
2 parents cf63d03 + a49e1e1 commit 55cfbba

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/k12.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
toolchain: ${{ matrix.rust }}
5353
override: true
5454
- run: cargo check --all-features
55+
- run: cargo test --no-default-features
5556
- run: cargo test
5657
- run: cargo test --all-features
5758

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

k12/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords = ["crypto", "hash", "digest"]
1212
categories = ["cryptography", "no-std"]
1313

1414
[dependencies]
15-
digest = "= 0.9.0-pre"
15+
digest = { version = "= 0.9.0-pre", features = ["alloc"] }
1616

1717
[dev-dependencies]
1818
digest = { version = "= 0.9.0-pre", features = ["dev"] }

0 commit comments

Comments
 (0)