diff --git a/.cargo/config.toml b/.cargo/config.toml index 66da12a13b11..3082e9635cf9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -17,6 +17,15 @@ rustflags = [ # "-Wmissing_docs", "-Wrust_2018_idioms", "-Wunused_qualifications", + "--cfg", + "uuid_unstable" +] + + +[build] +rustdocflags = [ + "--cfg", + "uuid_unstable" ] [alias] diff --git a/Cargo.lock b/Cargo.lock index 66bace95e7a3..665703f3d505 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -583,6 +583,12 @@ dependencies = [ "syn 2.0.38", ] +[[package]] +name = "atomic" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba" + [[package]] name = "autocfg" version = "1.1.0" @@ -5566,9 +5572,9 @@ dependencies = [ [[package]] name = "tracing-actix-web" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94982c2ad939d5d0bfd71c2f9b7ed273c72348485c72bb87bb4db6bd69df10cb" +checksum = "a512ec11fae6c666707625e84f83e5d58f941e9ab15723289c0d380edfe48f09" dependencies = [ "actix-web", "opentelemetry", @@ -5880,6 +5886,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ + "atomic", "getrandom 0.2.10", "serde", ] diff --git a/crates/router_env/Cargo.toml b/crates/router_env/Cargo.toml index 1181685d723b..266baf0e3863 100644 --- a/crates/router_env/Cargo.toml +++ b/crates/router_env/Cargo.toml @@ -23,7 +23,7 @@ strum = { version = "0.24.1", features = ["derive"] } time = { version = "0.3.21", default-features = false, features = ["formatting"] } tokio = { version = "1.28.2" } tracing = { version = "=0.1.36" } -tracing-actix-web = { version = "0.7.5", features = ["opentelemetry_0_19"], optional = true } +tracing-actix-web = { version = "0.7.8", features = ["opentelemetry_0_19", "uuid_v7"], optional = true } tracing-appender = { version = "0.2.2" } tracing-attributes = "=0.1.22" tracing-opentelemetry = { version = "0.19.0" }