Skip to content

Commit

Permalink
digest v0.10 and crypto-common v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Nov 19, 2021
1 parent 88d5ea3 commit 7922f73
Show file tree
Hide file tree
Showing 29 changed files with 1,276 additions and 1,064 deletions.
1 change: 0 additions & 1 deletion .github/workflows/crypto-common.yml
Expand Up @@ -52,6 +52,5 @@ jobs:
profile: minimal
- run: cargo check --all-features
- run: cargo test
- run: cargo test --features core-api
- run: cargo test --features std
- run: cargo test --all-features
60 changes: 0 additions & 60 deletions .github/workflows/crypto-mac.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/digest.yml
Expand Up @@ -52,7 +52,6 @@ jobs:
profile: minimal
- run: cargo check --all-features
- run: cargo test --release
- run: cargo test --features core-api --release
- run: cargo test --features dev --release
- run: cargo test --features alloc --release
- run: cargo test --features std --release
Expand Down
34 changes: 6 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Expand Up @@ -3,10 +3,12 @@ members = [
"aead",
"cipher",
"crypto-common",
"crypto-mac",
"digest",
"password-hash",
"signature",
"signature/async",
"universal-hash",
]

[patch.crates-io]
block-buffer = { git = "https://github.com/RustCrypto/utils", branch = "block-buffer/v0.10" }
6 changes: 1 addition & 5 deletions cipher/Cargo.toml
Expand Up @@ -13,17 +13,13 @@ categories = ["cryptography", "no-std"]

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

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

[features]
default = ["mode_wrapper"]
std = ["crypto-common/std", "rand_core/std"]
mode_wrapper = ["block-buffer"]
dev = ["blobby"]

[package.metadata.docs.rs]
Expand Down
6 changes: 2 additions & 4 deletions crypto-common/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "crypto-common"
description = "Common cryptographic traits"
version = "0.1.0-pre"
version = "0.1.0"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -13,9 +13,7 @@ categories = ["cryptography", "no-std"]

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

[features]
block-padding = ["block-buffer/block-padding"]
core-api = ["block-buffer"]
std = []
132 changes: 0 additions & 132 deletions crypto-common/src/core_api.rs

This file was deleted.

0 comments on commit 7922f73

Please sign in to comment.