Skip to content

Commit

Permalink
Remove dependency patching
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 14, 2024
1 parent 8a05ab5 commit eb64e83
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 32 deletions.
30 changes: 18 additions & 12 deletions Cargo.lock

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

8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,3 @@ members = ["belt-ctr", "cbc", "cfb8", "cfb-mode", "ctr", "ige", "ofb", "pcbc"]

[profile.dev]
opt-level = 2

[patch.crates-io]
cipher = { git = "https://github.com/RustCrypto/traits", branch = "block_backends" }

aes = { git = "https://github.com/RustCrypto/block-ciphers", branch = "cipher_new" }
belt-block = { git = "https://github.com/RustCrypto/block-ciphers", branch = "cipher_new" }
kuznyechik = { git = "https://github.com/RustCrypto/block-ciphers", branch = "cipher_new" }
magma = { git = "https://github.com/RustCrypto/block-ciphers", branch = "cipher_new" }
4 changes: 2 additions & 2 deletions belt-ctr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ categories = ["cryptography", "no-std"]

[dependencies]
cipher = "=0.5.0-pre.7"
belt-block = "=0.2.0-pre.1"
belt-block = "=0.2.0-pre.2"

[dev-dependencies]
hex-literal = "0.4"
belt-block = "=0.2.0-pre.1"
belt-block = "=0.2.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion cbc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
4 changes: 2 additions & 2 deletions cfb-mode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
belt-block = "=0.2.0-pre.1"
aes = "=0.9.0-pre.2"
belt-block = "=0.2.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion cfb8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
6 changes: 3 additions & 3 deletions ctr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
magma = "=0.10.0-pre.1"
kuznyechik = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
magma = "=0.10.0-pre.2"
kuznyechik = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion ige/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion ofb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion pcbc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
cipher = "=0.5.0-pre.7"

[dev-dependencies]
aes = "=0.9.0-pre.1"
aes = "=0.9.0-pre.2"
cipher = { version = "=0.5.0-pre.7", features = ["dev"] }
hex-literal = "0.4"

Expand Down

0 comments on commit eb64e83

Please sign in to comment.