2019-08-29 14:46:54 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-network"
|
2022-10-11 18:17:55 -07:00
|
|
|
version = "1.0.0-beta.16"
|
2019-10-08 09:25:59 -07:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
Enforce Rust edition 2021 (#3332)
* Rust edition 2021: zebra-network, cargo fix --edition and clippy --fix
* Rust edition 2021: zebra-chain, cargo fix --edition
* Rust edition 2021: tower-batch, cargo fix --edition
* Rust edition 2021: tower-fallback, cargo fix --edition
* Rust edition 2021: zebra-client, cargo fix --edition
* Rust edition 2021: zebra-consensus, cargo fix --edition
* Rust edition 2021: zebra-rpc, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-test, cargo fix --edition
* Rust edition 2021: zebra-utils, cargo fix --edition
* Rust edition 2021: zebrad, cargo fix --edition
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-14 04:10:18 -08:00
|
|
|
edition = "2021"
|
2019-08-29 14:46:54 -07:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2022-01-24 17:46:31 -08:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
tor = ["arti-client", "tor-rtcompat"]
|
2022-02-14 17:44:33 -08:00
|
|
|
proptest-impl = ["proptest", "proptest-derive", "zebra-chain/proptest-impl"]
|
2022-01-24 17:46:31 -08:00
|
|
|
|
2019-08-29 14:46:54 -07:00
|
|
|
[dependencies]
|
2022-03-06 18:07:25 -08:00
|
|
|
bitflags = "1.3.2"
|
|
|
|
byteorder = "1.4.3"
|
2022-08-02 18:02:59 -07:00
|
|
|
bytes = "1.2.1"
|
2022-09-02 14:11:18 -07:00
|
|
|
chrono = { version = "0.4.22", default-features = false, features = ["clock", "std"] }
|
2022-03-06 18:07:25 -08:00
|
|
|
hex = "0.4.3"
|
2022-06-13 23:21:24 -07:00
|
|
|
humantime-serde = "1.1.1"
|
2022-06-27 00:37:36 -07:00
|
|
|
indexmap = { version = "1.9.1", features = ["serde"] }
|
2021-01-29 04:36:33 -08:00
|
|
|
lazy_static = "1.4.0"
|
2021-12-03 10:09:43 -08:00
|
|
|
ordered-map = "0.4.2"
|
2022-09-03 18:15:49 -07:00
|
|
|
pin-project = "1.0.12"
|
2022-03-06 18:07:25 -08:00
|
|
|
rand = { version = "0.8.5", package = "rand" }
|
2022-07-21 16:14:58 -07:00
|
|
|
rayon = "1.5.3"
|
2022-08-01 02:07:08 -07:00
|
|
|
regex = "1.6.0"
|
2022-10-22 15:31:45 -07:00
|
|
|
serde = { version = "1.0.147", features = ["serde_derive"] }
|
2022-09-29 04:37:48 -07:00
|
|
|
thiserror = "1.0.37"
|
2022-03-06 18:07:25 -08:00
|
|
|
|
2022-10-21 12:02:04 -07:00
|
|
|
futures = "0.3.25"
|
2022-09-28 17:22:13 -07:00
|
|
|
tokio = { version = "1.21.2", features = ["net", "time", "tracing", "macros", "rt-multi-thread"] }
|
2022-10-13 19:04:40 -07:00
|
|
|
tokio-stream = { version = "0.1.11", features = ["sync", "time"] }
|
2022-09-08 17:31:26 -07:00
|
|
|
tokio-util = { version = "0.7.4", features = ["codec"] }
|
2022-06-21 10:12:19 -07:00
|
|
|
tower = { version = "0.4.13", features = ["retry", "discover", "load", "load-shed", "timeout", "util", "buffer"] }
|
2019-10-07 15:36:16 -07:00
|
|
|
|
2022-09-26 21:19:01 -07:00
|
|
|
metrics = "0.20.1"
|
2022-03-06 18:07:25 -08:00
|
|
|
tracing-futures = "0.2.5"
|
2022-05-31 20:53:51 -07:00
|
|
|
tracing-error = { version = "0.2.0", features = ["traced-error"] }
|
2022-10-12 23:46:27 -07:00
|
|
|
tracing = "0.1.37"
|
2020-02-14 13:38:33 -08:00
|
|
|
|
2022-01-24 17:46:31 -08:00
|
|
|
# tor dependencies
|
|
|
|
arti-client = { version = "0.0.2", optional = true }
|
|
|
|
tor-rtcompat = { version = "0.0.2", optional = true }
|
|
|
|
|
2022-02-14 17:44:33 -08:00
|
|
|
# proptest dependencies
|
|
|
|
proptest = { version = "0.10.1", optional = true }
|
|
|
|
proptest-derive = { version = "0.3.0", optional = true }
|
|
|
|
|
2019-10-07 15:36:16 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain" }
|
2020-07-21 01:41:18 -07:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-02-14 17:44:33 -08:00
|
|
|
proptest = "0.10.1"
|
|
|
|
proptest-derive = "0.3.0"
|
|
|
|
|
2022-02-14 08:00:31 -08:00
|
|
|
static_assertions = "1.1.0"
|
2022-09-28 17:22:13 -07:00
|
|
|
tokio = { version = "1.21.2", features = ["full", "tracing", "test-util"] }
|
2022-04-26 21:13:19 -07:00
|
|
|
toml = "0.5.9"
|
2020-07-15 02:15:52 -07:00
|
|
|
|
2021-05-24 08:10:07 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain", features = ["proptest-impl"] }
|
2020-07-15 02:15:52 -07:00
|
|
|
zebra-test = { path = "../zebra-test/" }
|