Skip to content

Commit 7922f73

Browse files
committed
digest v0.10 and crypto-common v0.1
1 parent 88d5ea3 commit 7922f73

29 files changed

+1276
-1064
lines changed

.github/workflows/crypto-common.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@ jobs:
5252
profile: minimal
5353
- run: cargo check --all-features
5454
- run: cargo test
55-
- run: cargo test --features core-api
5655
- run: cargo test --features std
5756
- run: cargo test --all-features

.github/workflows/crypto-mac.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/digest.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
profile: minimal
5353
- run: cargo check --all-features
5454
- run: cargo test --release
55-
- run: cargo test --features core-api --release
5655
- run: cargo test --features dev --release
5756
- run: cargo test --features alloc --release
5857
- run: cargo test --features std --release

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ members = [
33
"aead",
44
"cipher",
55
"crypto-common",
6-
"crypto-mac",
76
"digest",
87
"password-hash",
98
"signature",
109
"signature/async",
1110
"universal-hash",
1211
]
12+
13+
[patch.crates-io]
14+
block-buffer = { git = "https://github.com/RustCrypto/utils", branch = "block-buffer/v0.10" }

cipher/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@ categories = ["cryptography", "no-std"]
1313

1414
[dependencies]
1515
generic-array = "0.14"
16-
crypto-common = { version = "=0.1.0-pre", path = "../crypto-common" }
16+
crypto-common = { version = "0.1", path = "../crypto-common" }
1717

18-
# optional dependencies
19-
block-buffer = { version = "=0.10.0-pre.4", features = ["block-padding"], optional = true }
2018
blobby = { version = "0.3", optional = true }
2119
rand_core = { version = "0.6", optional = true }
2220

2321
[features]
24-
default = ["mode_wrapper"]
2522
std = ["crypto-common/std", "rand_core/std"]
26-
mode_wrapper = ["block-buffer"]
2723
dev = ["blobby"]
2824

2925
[package.metadata.docs.rs]

crypto-common/Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "crypto-common"
33
description = "Common cryptographic traits"
4-
version = "0.1.0-pre"
4+
version = "0.1.0"
55
authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
77
readme = "README.md"
@@ -13,9 +13,7 @@ categories = ["cryptography", "no-std"]
1313

1414
[dependencies]
1515
generic-array = "0.14"
16-
block-buffer = { version = "0.10.0-pre.2", optional = true }
16+
rand_core = { version = "0.6", optional = true }
1717

1818
[features]
19-
block-padding = ["block-buffer/block-padding"]
20-
core-api = ["block-buffer"]
2119
std = []

crypto-common/src/core_api.rs

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)