summaryrefslogtreecommitdiff
path: root/src/shipping/Cargo.toml
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
commit82e03978b89938219958032efb1448cc76baa181 (patch)
tree626f3e54d52ecd49be0ed3bee30abacc0453d081 /src/shipping/Cargo.toml
Initial snapshot - OpenTelemetry demo 2.1.3 -f
Diffstat (limited to 'src/shipping/Cargo.toml')
-rw-r--r--src/shipping/Cargo.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/shipping/Cargo.toml b/src/shipping/Cargo.toml
new file mode 100644
index 0000000..5fea85d
--- /dev/null
+++ b/src/shipping/Cargo.toml
@@ -0,0 +1,31 @@
+[package]
+name = "shipping"
+edition = "2021"
+
+[[bin]]
+name = "shipping"
+path = "src/main.rs"
+
+[dependencies]
+actix-web = "4"
+anyhow = "1.0.99"
+awc = { version = "3.8.0", default-features = false, features = ["compress-zstd"] }
+serde = { version = "1.0.225", features = ["derive"] }
+tonic = "0.14.2"
+tracing = "0.1.41"
+tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
+
+opentelemetry = "0.30.0"
+opentelemetry_sdk = "0.30.0"
+opentelemetry-otlp = { version = "0.30.0", features = ["grpc-tonic"] }
+opentelemetry-instrumentation-actix-web = { version = "0.22.0", features = ["sync-middleware", "awc", "metrics"] }
+opentelemetry-appender-tracing = "0.30.1"
+opentelemetry-resource-detectors = "0.9.0"
+
+[dependencies.uuid]
+version = "1.18.1"
+features = [
+ "v4", # Lets you generate random UUIDs
+ "fast-rng", # Use a faster (but still sufficiently random) RNG
+ "macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
+]