From b3c95f38e78f17d6538edef440e3997e47777623 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:48:06 +0200 Subject: [PATCH] tracing --- Cargo.toml | 3 +++ fakesshd/Cargo.toml | 3 ++- ssh-connection/Cargo.toml | 2 +- ssh-protocol/Cargo.toml | 3 ++- ssh-transport/Cargo.toml | 3 ++- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 00f96e5..d28d5ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,6 @@ [workspace] members = ["fakesshd", "ssh-connection", "ssh-protocol", "ssh-transport"] resolver = "2" + +[workspace.dependencies] +tracing = "0.1.40" diff --git a/fakesshd/Cargo.toml b/fakesshd/Cargo.toml index 9b11240..90bfed5 100644 --- a/fakesshd/Cargo.toml +++ b/fakesshd/Cargo.toml @@ -10,5 +10,6 @@ rand = "0.8.5" ssh-protocol = { path = "../ssh-protocol" } tokio = { version = "1.39.2", features = ["full"] } -tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] } + +tracing.workspace = true diff --git a/ssh-connection/Cargo.toml b/ssh-connection/Cargo.toml index ec3f470..e0486c6 100644 --- a/ssh-connection/Cargo.toml +++ b/ssh-connection/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] ssh-transport = { path = "../ssh-transport" } -tracing = "0.1.40" +tracing.workspace = true [dev-dependencies] tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } diff --git a/ssh-protocol/Cargo.toml b/ssh-protocol/Cargo.toml index 2b99e9a..bbef8b6 100644 --- a/ssh-protocol/Cargo.toml +++ b/ssh-protocol/Cargo.toml @@ -6,4 +6,5 @@ edition = "2021" [dependencies] ssh-connection = { path = "../ssh-connection" } ssh-transport = { path = "../ssh-transport" } -tracing = "0.1.40" +tracing.workspace = true + diff --git a/ssh-transport/Cargo.toml b/ssh-transport/Cargo.toml index c214362..66305a3 100644 --- a/ssh-transport/Cargo.toml +++ b/ssh-transport/Cargo.toml @@ -16,8 +16,9 @@ poly1305 = "0.8.0" rand_core = "0.6.4" sha2 = "0.10.8" subtle = "2.6.1" -tracing = "0.1.40" x25519-dalek = "2.0.1" +tracing.workspace = true + [dev-dependencies] hex-literal = "0.4.1"