Skip to content

Commit

Permalink
Move all git dependencies to published crates. (#58)
Browse files Browse the repository at this point in the history
The earlier issues with version resolution incompatibilities are now
resolved, and all the upstream changes we made to tracing are released.
  • Loading branch information
hdevalence authored and dconnolly committed Oct 9, 2019
1 parent 6f79f28 commit 8a3b4f4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ members = [
"zebra-client",
"zebra-reactor",
"zebrad",
]

[patch.crates-io]
tracing-attributes = { git = "https://github.com/tokio-rs/tracing" }
tracing = { git = "https://github.com/tokio-rs/tracing" }
]
8 changes: 5 additions & 3 deletions zebra-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ byteorder = "1.3"
chrono = "0.4"
failure = "0.1"
serde = { version = "1", features = ["serde_derive"] }

tokio = "=0.2.0-alpha.6"
tower = { git = "https://github.com/tower-rs/tower", branch = "v0.3.x" }
tracing = { git = "https://github.com/tokio-rs/tracing" }
tracing-futures = { git = "https://github.com/tokio-rs/tracing", features = ["tokio-alpha"], default-features = false }
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }

tracing = "0.1"
tracing-futures = { version = "0.1", features = ["tokio-alpha"], default-features = false }

tower = "=0.3.0-alpha.2"

zebra-chain = { path = "../zebra-chain" }
18 changes: 10 additions & 8 deletions zebrad/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ gumdrop = "0.6"
lazy_static = "1"
serde = { version = "1", features = ["serde_derive"] }
toml = "0.5"

tokio = "=0.2.0-alpha.6"
# Replace with git to pick up instrument derive changes, revert on release.
#tracing = "0.1"
tracing = { git = "https://github.com/tokio-rs/tracing" }
tracing-futures = { git = "https://github.com/tokio-rs/tracing", features = ["tokio-alpha"], default-features = false }
tracing-subscriber = { git = "https://github.com/tokio-rs/tracing" }
tracing-log = { git = "https://github.com/tokio-rs/tracing" }
hyper = { git = "https://github.com/hyperium/hyper"}
tower = { git = "https://github.com/tower-rs/tower", branch = "v0.3.x" }
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }

tracing = "0.1"
tracing-futures = { version = "0.1", features = ["tokio-alpha"], default-features = false }
tracing-subscriber = "0.1"
tracing-log = "0.1"

hyper = "=0.13.0-alpha.4"

tower = "=0.3.0-alpha.2"

zebra-chain = { path = "../zebra-chain" }
zebra-network = { path = "../zebra-network" }

Expand Down

0 comments on commit 8a3b4f4

Please sign in to comment.