Skip to content

Commit

Permalink
chore(o11y): remove workspace otel deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Mar 8, 2024
1 parent dcec0e2 commit 20c071e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 35 deletions.
55 changes: 25 additions & 30 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,31 @@ readme = "README.md"
repository = "https://github.com/ymgyt/syndicationd"

[workspace.dependencies]
anyhow = { version = "1" }
async-trait = { version = "0.1.77" }
axum = { version = "0.7.4" }
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
chrono = { version = "0.4.31" }
clap = { version = "4.5" }
fdlimit = { version = "0.3.0" }
feed-rs = { version = "1.4" }
futures-util = { version = "0.3.30" }
graphql_client = { version = "0.13.0", default-features = false }
headers = { version = "0.4.0" }
http = { version = "0.2" } # request use 0.2
itertools = { version = "0.12", default-features = false, features = ["use_std"] }
kvsd = { version = "0.1.3", default-features = false }
moka = { version = "0.12.4", features = ["future"] }
opentelemetry = { version = "0.21.0" }
opentelemetry-http = { version = "0.10.0" }
opentelemetry-semantic-conventions = { version = "0.13.0" }
opentelemetry_sdk = { version = "0.21.2" }
parse_duration = { version = "2.1.1" }
rand = { version = "0.8.5" }
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.111" }
thiserror = { version = "1.0.56" }
tokio = { version = "1.35" }
tracing = { version = "0.1.40" }
tracing-opentelemetry = { version = "0.22.0" }
tracing-subscriber = { version = "0.3.18", features = ["smallvec", "fmt", "ansi", "std", "env-filter", "time"], default-features = false }
url = { version = "2.5.0" }
anyhow = { version = "1" }
async-trait = { version = "0.1.77" }
axum = { version = "0.7.4" }
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
chrono = { version = "0.4.31" }
clap = { version = "4.5" }
fdlimit = { version = "0.3.0" }
feed-rs = { version = "1.4" }
futures-util = { version = "0.3.30" }
graphql_client = { version = "0.13.0", default-features = false }
headers = { version = "0.4.0" }
http = { version = "0.2" } # request use 0.2
itertools = { version = "0.12", default-features = false, features = ["use_std"] }
kvsd = { version = "0.1.3", default-features = false }
moka = { version = "0.12.4", features = ["future"] }
parse_duration = { version = "2.1.1" }
rand = { version = "0.8.5" }
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls", "json"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.111" }
thiserror = { version = "1.0.56" }
tokio = { version = "1.35" }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18", features = ["smallvec", "fmt", "ansi", "std", "env-filter", "time"], default-features = false }
url = { version = "2.5.0" }

[workspace.lints.rust]
unsafe_code = "forbid"
Expand Down
10 changes: 5 additions & 5 deletions crates/synd_o11y/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ version = "0.1.3"
[dependencies]
axum = { workspace = true }
http = { workspace = true }
opentelemetry = { workspace = true }
opentelemetry = { version = "0.21.0" }
opentelemetry-appender-tracing = { version = "0.2.0", default-features = false } # disable logs_level_enabled which affect global filtering
opentelemetry-http = { workspace = true }
opentelemetry-http = { version = "0.10.0" }
opentelemetry-otlp = { version = "0.14.0", default-features = false, features = ["trace", "metrics", "logs", "grpc-tonic"] }
opentelemetry-semantic-conventions = { workspace = true }
opentelemetry_sdk = { workspace = true, features = ["logs", "rt-tokio"] }
opentelemetry-semantic-conventions = { version = "0.13.0" }
opentelemetry_sdk = { version = "0.21.2", features = ["logs", "rt-tokio"] }
rand = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true, features = ["derive"] }
tracing = { workspace = true }
tracing-opentelemetry = { workspace = true }
tracing-opentelemetry = { version = "0.22.0" }
tracing-subscriber = { workspace = true }

[lints]
Expand Down

0 comments on commit 20c071e

Please sign in to comment.