diff --git a/Cargo.toml b/Cargo.toml index b7115ed..899de6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tower-otel-http-metrics" edition = "2021" -version = "0.4.0" +version = "0.5.0" license = "MIT" description = "OpenTelemetry Metrics Middleware for Tower-compatible Rust HTTP servers" homepage = "https://github.com/francoposa/tower-otel-http-metrics" @@ -19,7 +19,7 @@ axum = { features = ["matched-path"], version = "0.7", default-features = false, futures-core = { version = "0.3", default-features = false } futures-util = { version = "0.3", default-features = false } http = { version = "1", features = ["std"], default-features = false } -opentelemetry = { version = "0.22", features = ["metrics"], default-features = false } +opentelemetry = { version = "0.23", features = ["metrics"], default-features = false } pin-project-lite = { version = "0.2", default-features = false } tower = { version = "0.4", default-features = false } tower-service = { version = "0.3", default-features = false } diff --git a/examples/axum-http-service/Cargo.toml b/examples/axum-http-service/Cargo.toml index 70cbcce..7421f1e 100644 --- a/examples/axum-http-service/Cargo.toml +++ b/examples/axum-http-service/Cargo.toml @@ -6,12 +6,12 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tower_otel_http_metrics = { path = "../../../tower-otel-http-metrics", package = "tower-otel-http-metrics", features = ["axum"], default-features = false } +tower_otel_http_metrics = { path = "../../", package = "tower-otel-http-metrics", features = ["axum"], default-features = false } axum = { features = ["http1", "tokio"], version = "0.7", default-features = false } bytes = { version = "1", default-features = false } http-body-util = { version = "0.1" } -opentelemetry = { version = "0.22", default-features = false } -opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"], default-features = false } -opentelemetry-semantic-conventions = { version = "0.14", default-features = false } -opentelemetry-otlp = { version = "0.15", features = ["metrics", "grpc-tonic"], default-features = false } +opentelemetry = { version = "0.23", default-features = false } +opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"], default-features = false } +opentelemetry-semantic-conventions = { version = "0.16", default-features = false } +opentelemetry-otlp = { version = "0.16", features = ["metrics", "grpc-tonic"], default-features = false } tokio = { version = "1", features = ["rt-multi-thread"], default-features = false } diff --git a/examples/tower-http-service/Cargo.toml b/examples/tower-http-service/Cargo.toml index 302a393..b3dc3f0 100644 --- a/examples/tower-http-service/Cargo.toml +++ b/examples/tower-http-service/Cargo.toml @@ -6,15 +6,15 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tower_otel_http_metrics = { path = "../../../tower-otel-http-metrics", package = "tower-otel-http-metrics", default-features = false } +tower_otel_http_metrics = { path = "../../", package = "tower-otel-http-metrics", features = ["axum"], default-features = false } bytes = { version = "1", default-features = false } hyper = { version = "1", default-features = false } http-body-util = { version = "0.1", default-features = false } hyper-util = { version = "0.1", features = ["http1", "service", "server", "tokio"], default-features = false } -opentelemetry = { version = "0.22", default-features = false } -opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"], default-features = false } -opentelemetry-semantic-conventions = { version = "0.14", default-features = false } -opentelemetry-otlp = { version = "0.15", features = ["grpc-tonic", "metrics"], default-features = false } +opentelemetry = { version = "0.23", default-features = false } +opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"], default-features = false } +opentelemetry-semantic-conventions = { version = "0.16", default-features = false } +opentelemetry-otlp = { version = "0.16", features = ["grpc-tonic", "metrics"], default-features = false } tokio = { version = "1", features = ["rt-multi-thread", "macros"], default-features = false } tower = { version = "0.4", default-features = false } tower-http = { version = "0.5", default-features = false }