2019-08-29 14:46:54 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-network"
|
2022-02-21 06:29:34 -08:00
|
|
|
version = "1.0.0-beta.5"
|
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]
|
2019-09-30 11:58:32 -07:00
|
|
|
bitflags = "1.2"
|
2021-01-11 02:01:37 -08:00
|
|
|
byteorder = "1.4"
|
2021-11-02 11:46:57 -07:00
|
|
|
bytes = "1.1.0"
|
2019-09-11 19:24:16 -07:00
|
|
|
chrono = "0.4"
|
2019-10-15 16:38:44 -07:00
|
|
|
hex = "0.4"
|
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"
|
2021-06-20 17:46:40 -07:00
|
|
|
pin-project = "1.0.7"
|
2021-03-24 09:28:25 -07:00
|
|
|
rand = "0.8"
|
2021-01-29 04:36:33 -08:00
|
|
|
regex = "1"
|
2019-10-15 16:38:44 -07:00
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
2019-10-16 22:56:25 -07:00
|
|
|
thiserror = "1"
|
2019-10-08 21:10:01 -07:00
|
|
|
|
2020-07-21 01:41:18 -07:00
|
|
|
futures = "0.3"
|
2022-01-30 11:53:07 -08:00
|
|
|
tokio = { version = "1.16.1", features = ["net", "time", "tracing", "macros", "rt-multi-thread"] }
|
2021-11-02 11:46:57 -07:00
|
|
|
tokio-stream = { version = "0.1.7", features = ["sync", "time"] }
|
2022-02-13 19:51:25 -08:00
|
|
|
tokio-util = { version = "0.7.0", features = ["codec"] }
|
2022-02-17 19:53:30 -08:00
|
|
|
tower = { version = "0.4.12", features = ["retry", "discover", "load", "load-shed", "timeout", "util", "buffer"] }
|
2019-10-07 15:36:16 -07:00
|
|
|
|
2021-12-20 13:00:40 -08:00
|
|
|
metrics = "0.17.1"
|
2020-07-21 01:41:18 -07:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-futures = "0.2"
|
|
|
|
tracing-error = { version = "0.1.2", features = ["traced-error"] }
|
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-01-30 11:53:07 -08:00
|
|
|
tokio = { version = "1.16.1", features = ["test-util"] }
|
2021-04-21 16:14:29 -07:00
|
|
|
toml = "0.5"
|
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/" }
|