Skip to content

Commit

Permalink
Upgrade / remove dependencies (#1189)
Browse files Browse the repository at this point in the history
## Motivation

Lots of dependencies are outdated and some unused, this PR fixes the
easy ones.

## Solution

Remove unused, upgrade many old dependencies.
  • Loading branch information
svix-gabriel committed Feb 6, 2024
2 parents d527c13 + 5977e8b commit edd9399
Show file tree
Hide file tree
Showing 12 changed files with 88 additions and 143 deletions.
29 changes: 0 additions & 29 deletions bridge/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions bridge/svix-bridge-plugin-queue/Cargo.toml
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
futures-lite = "1.12.0"
omniqueue = { git = "https://github.com/svix/omniqueue-rs", rev = "247904053bcf90cf693df4429092923bf97770eb" }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -25,4 +24,4 @@ google-cloud-pubsub = "0.18.0"
lapin = "2"
redis = { version = "0.21", features = ["tokio-comp", "streams"] }
tracing-subscriber = "0.3"
wiremock = "0.5.18"
wiremock = "0.5.18"
3 changes: 0 additions & 3 deletions bridge/svix-bridge/Cargo.toml
Expand Up @@ -11,10 +11,8 @@ clap = { version = "4.2.4", features = ["env", "derive"] }
axum = { version = "0.6", features = ["macros"] }
enum_dispatch = "0.3"
http = "0.2"
hyper = { version = "0.14", features = ["full"] }
once_cell = "1.18.0"
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
opentelemetry-http = "0.7.0"
opentelemetry-otlp = { version = "0.11.0", features = ["metrics", "grpc-tonic", "http-proto", "reqwest-client"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand All @@ -23,7 +21,6 @@ svix-ksuid = "0.7.0"
svix-bridge-plugin-queue = { optional=true, path = "../svix-bridge-plugin-queue" }
svix-bridge-types = { path = "../svix-bridge-types" }
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.3", features = ["trace"] }
tracing = "0.1"
tracing-opentelemetry = "0.18.0"
tracing-subscriber = { version="0.3", features=["env-filter", "fmt", "json"] }
Expand Down
2 changes: 1 addition & 1 deletion bridge/svix-bridge/src/main.rs
Expand Up @@ -55,7 +55,7 @@ fn setup_tracing(cfg: &Config) {
if std::env::var_os("RUST_LOG").is_none() {
const CRATE_NAME: &str = env!("CARGO_CRATE_NAME");
let level = cfg.log_level.to_string();
let var = vec![
let var = [
format!("{CRATE_NAME}={level}"),
// XXX: Assuming this applies to the Producer side (aka `og-ingester`) when we fold it back in.
format!("tower_http={level}"),
Expand Down

0 comments on commit edd9399

Please sign in to comment.