Skip to content

Commit 59a2b0f

Browse files
committed
Bump cipher dependency to v0.5
Release PR: RustCrypto/traits#2281 Note: `cfb-mode` and `cfb8` have been removed from the workspace and pinned to `cipher` v0.5.0-rc.8 as they need breaking changes made. See: RustCrypto/traits#2280 (comment)
1 parent 49199e9 commit 59a2b0f

13 files changed

Lines changed: 295 additions & 45 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 25 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ members = [
44
"belt-ctr",
55
"cbc",
66
"cts",
7-
"cfb8",
8-
"cfb-mode",
7+
#"cfb8",
8+
#"cfb-mode",
99
"ctr",
1010
"ige",
1111
"ofb",
1212
"pcbc"
1313
]
14+
exclude = ["cfb8", "cfb-mode"] # TODO(tarcieri): update to `cipher` v0.5
1415

1516
[profile.dev]
1617
opt-level = 2

belt-ctr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers", "belt"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = { version = "0.5.0-rc.8", features = ["stream-wrapper"] }
16+
cipher = { version = "0.5", features = ["stream-wrapper"] }
1717
belt-block = "0.2.0-rc.3"
1818

1919
[dev-dependencies]
2020
hex-literal = "1"
2121
belt-block = "0.2.0-rc.3"
22-
cipher = { version = "0.5.0-rc.8", features = ["dev"] }
22+
cipher = { version = "0.5", features = ["dev"] }
2323

2424
[features]
2525
alloc = ["cipher/alloc"]

cbc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.8"
16+
cipher = "0.5"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.4"
20-
cipher = { version = "0.5.0-rc.8", features = ["dev"] }
20+
cipher = { version = "0.5", features = ["dev"] }
2121
hex-literal = "1"
2222

2323
[features]

cfb-mode/Cargo.lock

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

cfb-mode/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.8"
16+
cipher = "=0.5.0-rc.8"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.4"
2020
belt-block = "0.2.0-rc.3"
21-
cipher = { version = "0.5.0-rc.8", features = ["dev"] }
21+
cipher = { version = "=0.5.0-rc.8", features = ["dev"] } # TODO(tarcieri): update to v0.5
2222
hex-literal = "1"
2323

2424
[features]

cfb8/Cargo.lock

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

0 commit comments

Comments
 (0)