summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 13:14:40 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 13:14:40 +0400
commite72357c34bf548ce15e7cd2424a339994c1792e1 (patch)
treec5b8767ed05aa10b30dbed054e87e7b0aabff7c1 /libs
parent5d925b8045306369ae52966f0a27d65a72cd878d (diff)
clean dependencies
Diffstat (limited to 'libs')
-rw-r--r--libs/leash/Cargo.toml16
-rw-r--r--libs/shared/Cargo.toml21
2 files changed, 15 insertions, 22 deletions
diff --git a/libs/leash/Cargo.toml b/libs/leash/Cargo.toml
index b96f384..7153cf9 100644
--- a/libs/leash/Cargo.toml
+++ b/libs/leash/Cargo.toml
@@ -6,14 +6,14 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-shared = { path = "../shared" }
-anyhow = "1.0.68"
-tokio = { version = "1.23.1", features = ["rt", "signal"] }
-serde = "1.0.152"
+shared = { workspace = true }
+anyhow = { workspace = true }
+tokio = { workspace = true }
+serde = { workspace = true }
+opentelemetry = { workspace = true }
+tracing-opentelemetry = { workspace = true }
+tracing = { workspace = true }
+
tracing-log = { version = "0.1.3", features = ["env_logger"] }
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
-tracing = "0.1.37"
-env_logger = "0.10.0"
-tracing-opentelemetry = "0.18.0"
-opentelemetry = { version ="0.18.0", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.11.0", features = ["metrics"] }
diff --git a/libs/shared/Cargo.toml b/libs/shared/Cargo.toml
index 9b29bf2..90e30ce 100644
--- a/libs/shared/Cargo.toml
+++ b/libs/shared/Cargo.toml
@@ -4,23 +4,16 @@ version = "0.1.0"
edition = "2021"
[dependencies]
-serde = { version = "1.0.8", features = ["derive"] }
-serde_json = { version = "1.0" }
-serde_repr = "0.1"
+serde = { workspace = true }
+serde_json = { workspace = true }
+opentelemetry = { workspace = true }
+tracing = { workspace = true }
+tokio = { workspace = true }
config = { version = "0.13", default-features = false, features = ["json", "yaml-rust", "ini"] }
-
-async-nats = "0.26.0"
redis = { version = "0.22.1", features = ["cluster", "connection-manager", "tokio-comp"] }
-tokio = { version = "1", features = ["signal", "rt"] }
-
+async-nats = "0.26.0"
twilight-model = "0.14"
-thiserror = "1.0.38"
anyhow = "1.0.68"
-
-serde_test = "1.0.152"
-
-tracing = "0.1.37"
-opentelemetry-otlp = "0.11.0"
-opentelemetry = "0.18.0" \ No newline at end of file
+opentelemetry-otlp = "0.11.0" \ No newline at end of file