Remove unnecessary dependencies (#433)

This commit is contained in:
Youngjoon Lee 2023-09-25 17:26:21 +09:00 committed by GitHub
parent cb343156b7
commit 285804e1d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 3 additions and 22 deletions

View File

@ -9,5 +9,5 @@ edition = "2021"
tokio = { version = "1.32", features = ["sync", "net"] }
sphinx-packet = "0.1.0"
futures = "0.3"
tokio-util = { version = "0.7", features = ["io", "io-util"] }
tokio-util = { version = "0.7", features = ["io", "io-util"] }
thiserror = "1"

View File

@ -23,7 +23,6 @@ indexmap = { version = "1.9", features = ["serde"] }
[dev-dependencies]
rand = "0.8"
tokio = { version = "1.23", features = ["macros", "rt"] }
[features]

View File

@ -26,6 +26,5 @@ thiserror = "1.0.40"
tracing = "0.1"
[dev-dependencies]
env_logger = "0.10.0"
serde_json = "1.0.99"
tokio = { version = "1", features = ["time"] }

View File

@ -7,7 +7,6 @@ edition = "2021"
[dependencies]
async-trait = "0.1"
async-stream = "0.3"
bytes = "1.3"
chrono = "0.4"
consensus-engine = { path = "../../consensus-engine", features = ["serde"] }

View File

@ -32,16 +32,13 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
thiserror = "1"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["json"] }
tracing-gelf = "0.7"
tower = { version = "0.4", optional = true }
tower-http = { version = "0.3", features = ["cors", "trace"] }
tokio = { version = "1", features = ["sync", "macros"] }
tower-service = "0.3.2"
[dev-dependencies]
metrics = { path = "../metrics", features = ["gql"] }
once_cell = "1.17"
[features]

View File

@ -8,7 +8,6 @@ edition = "2021"
[dependencies]
async-trait = "0.1"
bincode = { version = "2.0.0-rc.2", features = ["serde"] }
chrono = "0.4"
futures = "0.3"
linked-hash-map = { version = "0.5.6", optional = true }
nomos-network = { path = "../network" }

View File

@ -11,7 +11,6 @@ required-features = ["gql"]
[dependencies]
axum = { version = "0.6", optional = true }
async-graphql = { version = "5", optional = true, features = ["tracing"] }
async-graphql-axum = { version = "5", optional = true }
async-trait = "0.1"
bytes = "1.3"
clap = { version = "4", features = ["derive", "env"], optional = true }
@ -25,13 +24,11 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["sync", "macros", "time"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
tracing-gelf = "0.7"
tower-http = { version = "0.3", features = ["cors", "trace"], optional = true }
thiserror = "1"
futures = "0.3"
[features]
default = []
gql = ["clap", "axum", "async-graphql", "async-graphql-axum", "tower-http", "nomos-http/gql"]
gql = ["clap", "axum", "async-graphql", "tower-http", "nomos-http/gql"]

View File

@ -21,9 +21,6 @@ thiserror = "1.0"
tracing = "0.1"
rand = { version = "0.7.3", optional = true }
waku-bindings = { version = "0.1.1", optional = true }
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["json"] }
tracing-gelf = "0.7"
futures = "0.3"
parking_lot = "0.12"
nomos-core = { path = "../../nomos-core" }

View File

@ -16,10 +16,9 @@ thiserror = "1.0"
tracing = "0.1"
[dev-dependencies]
tempfile = "3.3"
tokio = { version = "1", features = ["sync", "macros", "time"] }
[features]
default = []
mock = []
sled-backend = ["sled"]
sled-backend = ["sled"]

View File

@ -11,7 +11,6 @@ path = "src/bin/app/main.rs"
[dependencies]
anyhow = "1"
arc-swap = "1.6"
bls-signatures = "0.14"
csv = "1"
clap = { version = "4", features = ["derive"] }
@ -42,8 +41,5 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "tracing-log"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
tempfile = "3.4"
[features]
polars = ["dep:polars"]

View File

@ -22,7 +22,6 @@ mixnet-client = { path = "../mixnet/client" }
mixnet-topology = { path = "../mixnet/topology" }
# Using older versions, since `mixnet-*` crates depend on `rand` v0.7.3.
rand = "0.7.3"
rand_xoshiro = "0.6"
once_cell = "1"
secp256k1 = { version = "0.26", features = ["rand"] }
waku-bindings = { version = "0.1.1", optional = true }