From 4881377c9eab02b69f0fee074b7454b51eefb8da Mon Sep 17 00:00:00 2001 From: Riley Date: Fri, 11 Feb 2022 02:59:42 -0600 Subject: [PATCH] Support actix-web rc.3 (#76) --- Cargo.toml | 6 +++--- README.md | 4 ++-- examples/custom-root-span/Cargo.toml | 2 +- examples/opentelemetry/Cargo.toml | 2 +- src/lib.rs | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7f0ba0c6a..28b8d3a15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "examples/opentelemetry", "examples/custom-root-span"] [package] name = "tracing-actix-web" -version = "0.5.0-rc.2" +version = "0.5.0-rc.3" authors = ["Luca Palmieri "] edition = "2018" @@ -28,7 +28,7 @@ opentelemetry_0_17 = ["opentelemetry_0_17_pkg", "tracing-opentelemetry_0_17_pkg" emit_event_on_error = [] [dependencies] -actix-web = { version = "=4.0.0-rc.2", default-features = false } +actix-web = { version = "=4.0.0-rc.3", default-features = false } pin-project = "1.0.0" tracing = "0.1.19" tracing-futures = "0.2.4" @@ -45,7 +45,7 @@ tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry",version = " tracing-opentelemetry_0_17_pkg = { package = "tracing-opentelemetry",version = "0.17", optional = true } [dev-dependencies] -actix-web = { version = "=4.0.0-rc.2", default-features = false, features = ["macros"] } +actix-web = { version = "=4.0.0-rc.3", default-features = false, features = ["macros"] } tracing-subscriber = { version = "0.3.0", features = ["registry", "env-filter"] } tracing-bunyan-formatter = "0.3.0" tracing-log = "0.1.1" diff --git a/README.md b/README.md index 71589cd90..f31f5a19c 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ Add `tracing-actix-web` to your dependencies: ```toml [dependencies] # ... -tracing-actix-web = "=0.5.0-rc.2" +tracing-actix-web = "=0.5.0-rc.3" tracing = "0.1" -actix-web = "=4.0.0-rc.2" +actix-web = "=4.0.0-rc.3" ``` `tracing-actix-web` exposes three feature flags: diff --git a/examples/custom-root-span/Cargo.toml b/examples/custom-root-span/Cargo.toml index 5390f548c..860a3094b 100644 --- a/examples/custom-root-span/Cargo.toml +++ b/examples/custom-root-span/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -actix-web = "=4.0.0-rc.2" +actix-web = "=4.0.0-rc.3" opentelemetry = { version = "0.17", features = ["rt-tokio-current-thread"] } opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio-current-thread"] } tracing-opentelemetry = { version = "0.17" } diff --git a/examples/opentelemetry/Cargo.toml b/examples/opentelemetry/Cargo.toml index b0de27b96..78ae9c7ff 100644 --- a/examples/opentelemetry/Cargo.toml +++ b/examples/opentelemetry/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" license = "MIT/Apache-2.0" [dependencies] -actix-web = "=4.0.0-rc.2" +actix-web = "=4.0.0-rc.3" tracing = "0.1.19" opentelemetry = { version = "0.17", features = ["rt-tokio-current-thread"] } opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio-current-thread"] } diff --git a/src/lib.rs b/src/lib.rs index fbcd7f59f..c6984d5e6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,9 +10,9 @@ //! ```toml //! [dependencies] //! # ... -//! tracing-actix-web = "=0.5.0-rc.2" +//! tracing-actix-web = "=0.5.0-rc.3" //! tracing = "0.1" -//! actix-web = "=4.0.0-rc.2" +//! actix-web = "=4.0.0-rc.3" //! ``` //! //! `tracing-actix-web` exposes three feature flags: