mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 19:06:31 +00:00
update tracing-opentelemetry to 0.16 (#18)
this update requires moving to tracing-subscriber 0.3. It removes chrono from transitive dependencies, following https://rustsec.org/advisories/RUSTSEC-2020-0159.html
This commit is contained in:
parent
849f982f5e
commit
422566972a
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ categories = ["web-programming::http-client"]
|
||||||
opentelemetry_0_13 = ["opentelemetry_0_13_pkg", "tracing-opentelemetry_0_12_pkg"]
|
opentelemetry_0_13 = ["opentelemetry_0_13_pkg", "tracing-opentelemetry_0_12_pkg"]
|
||||||
opentelemetry_0_14 = ["opentelemetry_0_14_pkg", "tracing-opentelemetry_0_13_pkg"]
|
opentelemetry_0_14 = ["opentelemetry_0_14_pkg", "tracing-opentelemetry_0_13_pkg"]
|
||||||
opentelemetry_0_15 = ["opentelemetry_0_15_pkg", "tracing-opentelemetry_0_14_pkg"]
|
opentelemetry_0_15 = ["opentelemetry_0_15_pkg", "tracing-opentelemetry_0_14_pkg"]
|
||||||
opentelemetry_0_16 = ["opentelemetry_0_16_pkg", "tracing-opentelemetry_0_15_pkg"]
|
opentelemetry_0_16 = ["opentelemetry_0_16_pkg", "tracing-opentelemetry_0_16_pkg"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest-middleware = { version = "0.1.2", path = "../reqwest-middleware" }
|
reqwest-middleware = { version = "0.1.2", path = "../reqwest-middleware" }
|
||||||
|
@ -31,7 +31,7 @@ opentelemetry_0_16_pkg = { package = "opentelemetry", version = "0.16", optional
|
||||||
tracing-opentelemetry_0_12_pkg = { package = "tracing-opentelemetry",version = "0.12", optional = true }
|
tracing-opentelemetry_0_12_pkg = { package = "tracing-opentelemetry",version = "0.12", optional = true }
|
||||||
tracing-opentelemetry_0_13_pkg = { package = "tracing-opentelemetry", version = "0.13", optional = true }
|
tracing-opentelemetry_0_13_pkg = { package = "tracing-opentelemetry", version = "0.13", optional = true }
|
||||||
tracing-opentelemetry_0_14_pkg = { package = "tracing-opentelemetry",version = "0.14", optional = true }
|
tracing-opentelemetry_0_14_pkg = { package = "tracing-opentelemetry",version = "0.14", optional = true }
|
||||||
tracing-opentelemetry_0_15_pkg = { package = "tracing-opentelemetry",version = "0.15", optional = true }
|
tracing-opentelemetry_0_16_pkg = { package = "tracing-opentelemetry",version = "0.16", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wiremock = "0.5"
|
wiremock = "0.5"
|
||||||
|
|
|
@ -25,7 +25,7 @@ pub use tracing_opentelemetry_0_13_pkg as tracing_opentelemetry;
|
||||||
pub use tracing_opentelemetry_0_14_pkg as tracing_opentelemetry;
|
pub use tracing_opentelemetry_0_14_pkg as tracing_opentelemetry;
|
||||||
|
|
||||||
#[cfg(feature = "opentelemetry_0_16")]
|
#[cfg(feature = "opentelemetry_0_16")]
|
||||||
pub use tracing_opentelemetry_0_15_pkg as tracing_opentelemetry;
|
pub use tracing_opentelemetry_0_16_pkg as tracing_opentelemetry;
|
||||||
|
|
||||||
use opentelemetry::global;
|
use opentelemetry::global;
|
||||||
use opentelemetry::propagation::Injector;
|
use opentelemetry::propagation::Injector;
|
||||||
|
|
Loading…
Reference in a new issue