From 5a85281ec0db66de1074570b8b916c54b1273c3f Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Tue, 22 Oct 2024 16:59:42 +0200 Subject: [PATCH] Use tokio 1 in deps (#842) --- nodes/nomos-node/Cargo.toml | 2 +- nomos-da/network/core/Cargo.toml | 4 ++-- nomos-da/network/messages/Cargo.toml | 2 +- nomos-mix/network/Cargo.toml | 2 +- nomos-services/api/Cargo.toml | 2 +- nomos-services/data-availability/dispersal/Cargo.toml | 2 +- nomos-services/system-sig/Cargo.toml | 2 +- testnet/cfgsync/Cargo.toml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nodes/nomos-node/Cargo.toml b/nodes/nomos-node/Cargo.toml index c683965d..1d165839 100644 --- a/nodes/nomos-node/Cargo.toml +++ b/nodes/nomos-node/Cargo.toml @@ -45,7 +45,7 @@ cryptarchia-engine = { path = "../../consensus/cryptarchia-engine" } nomos-ledger = { path = "../../ledger/nomos-ledger" } rand_chacha = "0.3" cl = { path = "../../nomos-core/cl" } -tokio = { version = "1.24", features = ["sync"] } +tokio = { version = "1", features = ["sync"] } serde_json = "1.0" serde_yaml = "0.9" color-eyre = "0.6.0" diff --git a/nomos-da/network/core/Cargo.toml b/nomos-da/network/core/Cargo.toml index bbee6b42..e6bd331e 100644 --- a/nomos-da/network/core/Cargo.toml +++ b/nomos-da/network/core/Cargo.toml @@ -21,12 +21,12 @@ log = "0.4" serde = "1.0" rand = "0.8" rand_chacha = "0.3" -tokio = { version = "1.39" } +tokio = { version = "1" } tokio-stream = "0.1" thiserror = "1.0" [dev-dependencies] -tokio = { version = "1.39", features = ["macros", "rt-multi-thread", "time"] } +tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] } libp2p = { version = "0.53", features = ["ed25519", "ping", "macros", "quic", "tcp", "yamux", "noise"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/nomos-da/network/messages/Cargo.toml b/nomos-da/network/messages/Cargo.toml index 810e8dd6..e650e1a0 100644 --- a/nomos-da/network/messages/Cargo.toml +++ b/nomos-da/network/messages/Cargo.toml @@ -12,4 +12,4 @@ prost = "0.13.1" prost-build = "0.13.1" [dev-dependencies] -tokio = { version = "1.38.1", features = ["rt", "macros"] } +tokio = { version = "1", features = ["rt", "macros"] } diff --git a/nomos-mix/network/Cargo.toml b/nomos-mix/network/Cargo.toml index 4618f21f..64bfcb21 100644 --- a/nomos-mix/network/Cargo.toml +++ b/nomos-mix/network/Cargo.toml @@ -13,6 +13,6 @@ nomos-mix-message = { path = "../message" } nomos-mix-queue = { path = "../queue" } [dev-dependencies] -tokio = { version = "1.39", features = ["macros", "rt-multi-thread", "time"] } +tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] } libp2p = { version = "0.53", features = ["ed25519", "tokio", "quic"] } tracing-subscriber = "0.3.18" diff --git a/nomos-services/api/Cargo.toml b/nomos-services/api/Cargo.toml index 7b22c8dd..bac4ecc0 100644 --- a/nomos-services/api/Cargo.toml +++ b/nomos-services/api/Cargo.toml @@ -35,7 +35,7 @@ rand = "0.8" serde = { version = "1", features = ["derive"] } subnetworks-assignations = { path = "../../nomos-da/network/subnetworks-assignations" } nomos-da-network-core = { path = "../../nomos-da/network/core" } -tokio = { version = "1.33", default-features = false, features = ["sync"] } +tokio = { version = "1", default-features = false, features = ["sync"] } # axum related dependencies diff --git a/nomos-services/data-availability/dispersal/Cargo.toml b/nomos-services/data-availability/dispersal/Cargo.toml index 59fcc1dc..84dfadfe 100644 --- a/nomos-services/data-availability/dispersal/Cargo.toml +++ b/nomos-services/data-availability/dispersal/Cargo.toml @@ -17,6 +17,6 @@ overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" rand = "0.8" serde = { version = "1.0", features = ["derive"] } subnetworks-assignations = { path = "../../../nomos-da/network/subnetworks-assignations" } -tokio = "1.40" +tokio = "1" thiserror = "1.0" tracing = "0.1" diff --git a/nomos-services/system-sig/Cargo.toml b/nomos-services/system-sig/Cargo.toml index 98e01c0b..1f23d529 100644 --- a/nomos-services/system-sig/Cargo.toml +++ b/nomos-services/system-sig/Cargo.toml @@ -9,6 +9,6 @@ edition = "2021" async-trait = "0.1" async-ctrlc = "1.2" overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" } -tokio = "1.33.0" +tokio = "1" log = "0.4.20" futures = "0.3.28" diff --git a/testnet/cfgsync/Cargo.toml b/testnet/cfgsync/Cargo.toml index 5cfa94a1..65442152 100644 --- a/testnet/cfgsync/Cargo.toml +++ b/testnet/cfgsync/Cargo.toml @@ -12,7 +12,7 @@ nomos-node = { path = "../../nodes/nomos-node" } rand = "0.8" reqwest = { version = "0.11", features = ["json", "rustls-tls"] } tests = { path = "../../tests" } -tokio = { version = "1.24", features = ["rt-multi-thread"] } +tokio = { version = "1", features = ["rt-multi-thread"] } serde = { version = "1", features = ["derive"] } serde_json = "1" serde_yaml = "0.9"