Skip to content

Commit

Permalink
Update tower-batch tests to rand 0.8
Browse files Browse the repository at this point in the history
And move the ed25519-zebra patch to the workspace Cargo.toml.

This fix helps avoid Cargo.lock instability.
  • Loading branch information
teor2345 committed Apr 7, 2021
1 parent 64662a7 commit d128e58
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
20 changes: 3 additions & 17 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ panic = "abort"

[patch.crates-io]

# TODO: upgrade ed25510-zebra to 3 when released: https://github.com/ZcashFoundation/ed25519-zebra/issues/45
ed25519-zebra = {git = "https://github.com/ZcashFoundation/ed25519-zebra", rev = "539fad040c443302775b0f508e616418825e6c22"}

# awaiting stable versions which all depend on tokio 1.0, see #1086 for details
hyper = { git = "https://github.com/hyperium/hyper", rev = "ed2b22a7f66899d338691552fbcb6c0f2f4e06b9" }
Expand Down
4 changes: 2 additions & 2 deletions tower-batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ tracing-futures = "0.2.5"

[dev-dependencies]
color-eyre = "0.5.10"
ed25519-zebra = "2.1.0"
rand = "0.7"
ed25519-zebra = "2.2.0"
rand = "0.8"
tokio = { version = "0.3.6", features = ["full"]}
tokio-test = "0.4.1"
tower-fallback = { path = "../tower-fallback/" }
Expand Down
3 changes: 1 addition & 2 deletions zebra-chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ proptest = { version = "0.10", optional = true }
proptest-derive = { version = "0.3.0", optional = true }

# ZF deps
# TODO: upgrade ed25510-zebra to 3 when released: https://github.com/ZcashFoundation/ed25519-zebra/issues/45
ed25519-zebra = {git = "https://github.com/ZcashFoundation/ed25519-zebra", rev = "539fad040c443302775b0f508e616418825e6c22"}
ed25519-zebra = "2.2.0"
redjubjub = "0.4"

[dev-dependencies]
Expand Down

0 comments on commit d128e58

Please sign in to comment.