diff --git a/Cargo.lock b/Cargo.lock index c461b4ed09e5a..f694f427babf4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,7 +115,7 @@ source = "git+https://github.com/jorgecarleitao/arrow2.git#0ba4f8e21547ed08b4468 dependencies = [ "ahash", "arrow-format", - "base64", + "base64 0.13.1", "bytemuck", "chrono", "dyn-clone", @@ -701,12 +701,49 @@ dependencies = [ [[package]] name = "axum" -version = "0.6.1" -source = "git+https://github.com/tokio-rs/axum.git#978ae6335862b264b4368e01a52177d98c42b2d9" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bd379e511536bad07447f899300aa526e9bae8e6f66dc5e5ca45d7587b7c1ec" +dependencies = [ + "async-trait", + "axum-core 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "base64 0.21.0", + "bitflags", + "bytes", + "futures-util", + "headers", + "http", + "http-body", + "hyper", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", + "sha1", + "sync_wrapper", + "tokio", + "tokio-tungstenite", + "tower", + "tower-http 0.3.5", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum" +version = "0.6.8" +source = "git+https://github.com/tokio-rs/axum.git#279a8e2bf041d91499e68472da9f7ca650b9bd16" dependencies = [ "async-trait", - "axum-core", - "base64", + "axum-core 0.3.2 (git+https://github.com/tokio-rs/axum.git)", + "base64 0.21.0", "bitflags", "bytes", "futures-util", @@ -730,15 +767,32 @@ dependencies = [ "tokio", "tokio-tungstenite", "tower", - "tower-http", + "tower-http 0.4.0", "tower-layer", "tower-service", ] [[package]] name = "axum-core" -version = "0.3.0" -source = "git+https://github.com/tokio-rs/axum.git#978ae6335862b264b4368e01a52177d98c42b2d9" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cae3e661676ffbacb30f1a824089a8c9150e71017f7e1e38f2aa32009188d34" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http", + "http-body", + "mime", + "rustversion", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum-core" +version = "0.3.2" +source = "git+https://github.com/tokio-rs/axum.git#279a8e2bf041d91499e68472da9f7ca650b9bd16" dependencies = [ "async-trait", "bytes", @@ -789,6 +843,12 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" + [[package]] name = "base64-simd" version = "0.7.0" @@ -2397,7 +2457,7 @@ version = "7.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6490be71f07a5f62b564bc58e36953f675833df11c7e4a0647bee7a07ca1ec5e" dependencies = [ - "base64", + "base64 0.13.1", "byteorder", "flate2", "nom", @@ -2410,7 +2470,7 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" dependencies = [ - "base64", + "base64 0.13.1", "bitflags", "bytes", "headers-core", @@ -2478,9 +2538,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", @@ -2524,9 +2584,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.23" +version = "0.14.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c" +checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" dependencies = [ "bytes", "futures-channel", @@ -2693,9 +2753,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.1" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" +checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" [[package]] name = "jobserver" @@ -2744,7 +2804,7 @@ version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09f4f04699947111ec1733e71778d763555737579e44b85844cae8e1940a1828" dependencies = [ - "base64", + "base64 0.13.1", "pem", "ring", "serde", @@ -2771,7 +2831,7 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d9455388f4977de4d0934efa9f7d36296295537d774574113a20f6082de03da" dependencies = [ - "base64", + "base64 0.13.1", "bytes", "chrono", "http", @@ -2801,7 +2861,7 @@ version = "0.77.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e80db3ca107e89da5f7eae37ea5274e06cefdcf9689d0ebd5ec3575a6f983e4e" dependencies = [ - "base64", + "base64 0.13.1", "bytes", "chrono", "dirs-next", @@ -2828,7 +2888,7 @@ dependencies = [ "tokio-tungstenite", "tokio-util", "tower", - "tower-http", + "tower-http 0.3.5", "tracing", ] @@ -3282,7 +3342,7 @@ version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9006c95034ccf7b903d955f210469119f6c3477fc9c9e7a7845ce38a3e665c2a" dependencies = [ - "base64", + "base64 0.13.1", "bigdecimal", "bindgen", "bitflags", @@ -3318,7 +3378,7 @@ name = "mz" version = "0.1.0" dependencies = [ "anyhow", - "axum", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", "clap", "dirs", "indicatif", @@ -3601,7 +3661,7 @@ name = "mz-clusterd" version = "0.45.0-dev" dependencies = [ "anyhow", - "axum", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", "clap", "fail", "futures", @@ -3752,8 +3812,8 @@ dependencies = [ "askama", "assert_cmd", "async-trait", - "axum", - "base64", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", + "base64 0.13.1", "bytes", "bytesize", "cc", @@ -3832,7 +3892,7 @@ dependencies = [ "tokio-openssl", "tokio-postgres", "tokio-stream", - "tower-http", + "tower-http 0.3.5", "tracing", "tracing-core", "tracing-opentelemetry", @@ -3915,7 +3975,7 @@ name = "mz-frontegg-auth" version = "0.0.0" dependencies = [ "anyhow", - "base64", + "base64 0.13.1", "derivative", "jsonwebtoken", "mz-ore", @@ -3934,7 +3994,7 @@ version = "0.0.0" dependencies = [ "anyhow", "askama", - "axum", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", "headers", "include_dir", "mz-ore", @@ -4240,7 +4300,7 @@ dependencies = [ "aws-credential-types", "aws-sdk-s3", "aws-types", - "base64", + "base64 0.13.1", "bytes", "deadpool-postgres", "differential-dataflow", @@ -4279,7 +4339,7 @@ dependencies = [ "anyhow", "async-stream", "async-trait", - "axum", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", "bytes", "clap", "criterion", @@ -4441,7 +4501,7 @@ version = "0.0.0" dependencies = [ "anyhow", "askama", - "axum", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", "backtrace", "bytesize", "cfg-if", @@ -4727,7 +4787,7 @@ dependencies = [ "time", "tokio", "tokio-postgres", - "tower-http", + "tower-http 0.3.5", "tracing", "uuid", "walkdir", @@ -5564,7 +5624,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9a3b09a20e374558580a4914d3b7d89bd61b954a5a5e1dcbea98753addb1947" dependencies = [ - "base64", + "base64 0.13.1", ] [[package]] @@ -5747,7 +5807,7 @@ name = "postgres-protocol" version = "0.6.4" source = "git+https://github.com/MaterializeInc/rust-postgres#9c9086235344fe794361a9985d97a64b42e61929" dependencies = [ - "base64", + "base64 0.13.1", "byteorder", "bytes", "fallible-iterator", @@ -6032,7 +6092,7 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d378290cd658b119ce87621931ef448017ef1a0044d7b681159d779e7e07b8f6" dependencies = [ - "base64", + "base64 0.13.1", "prost", "prost-types", "serde", @@ -6278,7 +6338,7 @@ version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c" dependencies = [ - "base64", + "base64 0.13.1", "bytes", "encoding_rs", "futures-core", @@ -6566,7 +6626,7 @@ dependencies = [ "reqwest", "sentry-backtrace", "sentry-contexts", - "sentry-core", + "sentry-core 0.29.1", "sentry-panic", "tokio", "ureq", @@ -6581,7 +6641,7 @@ dependencies = [ "backtrace", "once_cell", "regex", - "sentry-core", + "sentry-core 0.29.1", ] [[package]] @@ -6594,7 +6654,7 @@ dependencies = [ "libc", "os_info", "rustc_version", - "sentry-core", + "sentry-core 0.29.1", "uname", ] @@ -6606,7 +6666,20 @@ checksum = "4df9b9d8de2658a1ecd4e45f7b06c80c5dd97b891bfbc7c501186189b7e9bbdf" dependencies = [ "once_cell", "rand", - "sentry-types", + "sentry-types 0.29.1", + "serde", + "serde_json", +] + +[[package]] +name = "sentry-core" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b22828bfd118a7b660cf7a155002a494755c0424cebb7061e4743ecde9c7dbc" +dependencies = [ + "once_cell", + "rand", + "sentry-types 0.30.0", "serde", "serde_json", ] @@ -6618,16 +6691,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0af37b8500f273e511ebd6eb0d342ff7937d64ce3f134764b2b4653112d48cb4" dependencies = [ "sentry-backtrace", - "sentry-core", + "sentry-core 0.29.1", ] [[package]] name = "sentry-tracing" -version = "0.29.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fc83ec2cf38726bd18cb1943ff11555b07fd5034cb68b10958ab32e2863a1f" +checksum = "3f4eda5496b64975306ce37b7ccdc5f264fd1da25c1d5aac324b460edab29ded" dependencies = [ - "sentry-core", + "sentry-core 0.30.0", "tracing-core", "tracing-subscriber", ] @@ -6649,6 +6722,23 @@ dependencies = [ "uuid", ] +[[package]] +name = "sentry-types" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "360ee3270f7a4a1eee6c667f7d38360b995431598a73b740dfe420da548d9cc9" +dependencies = [ + "debugid", + "getrandom", + "hex", + "serde", + "serde_json", + "thiserror", + "time", + "url", + "uuid", +] + [[package]] name = "seq-macro" version = "0.3.1" @@ -6753,7 +6843,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25bf4a5a814902cd1014dbccfa4d4560fb8432c779471e96e035602519f82eef" dependencies = [ - "base64", + "base64 0.13.1", "chrono", "hex", "indexmap", @@ -7541,8 +7631,8 @@ checksum = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb" dependencies = [ "async-stream", "async-trait", - "axum", - "base64", + "axum 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", + "base64 0.13.1", "bytes", "futures-core", "futures-util", @@ -7604,7 +7694,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" dependencies = [ - "base64", + "base64 0.13.1", "bitflags", "bytes", "futures-core", @@ -7619,6 +7709,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower-http" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d1d42a9b3f3ec46ba828e8d376aec14592ea199f70a06a548587ecd1c4ab658" +dependencies = [ + "bitflags", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-range-header", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.2" @@ -7763,7 +7872,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" dependencies = [ - "base64", + "base64 0.13.1", "byteorder", "bytes", "http", @@ -7875,7 +7984,7 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b97acb4c28a254fd7a4aeec976c46a7fa404eac4d7c134b30c75144846d7cb8f" dependencies = [ - "base64", + "base64 0.13.1", "chunked_transfer", "log", "native-tls", @@ -8189,8 +8298,8 @@ dependencies = [ "aws-sig-auth", "aws-sigv4", "aws-smithy-http", - "axum", - "base64", + "axum 0.6.8 (git+https://github.com/tokio-rs/axum.git)", + "base64 0.13.1", "bstr", "byteorder", "bytes", @@ -8275,7 +8384,7 @@ dependencies = [ "tokio-stream", "tokio-util", "tower", - "tower-http", + "tower-http 0.3.5", "tracing", "tracing-core", "tracing-subscriber", @@ -8349,3 +8458,8 @@ dependencies = [ "cc", "libc", ] + +[[patch.unused]] +name = "axum" +version = "0.6.1" +source = "git+https://github.com/tokio-rs/axum.git#978ae6335862b264b4368e01a52177d98c42b2d9" diff --git a/src/environmentd/Cargo.toml b/src/environmentd/Cargo.toml index 79a399c79af1e..548cde9758d3a 100644 --- a/src/environmentd/Cargo.toml +++ b/src/environmentd/Cargo.toml @@ -67,7 +67,7 @@ rand = "0.8.5" reqwest = { version = "0.11.13", features = ["json"] } rlimit = "0.8.3" sentry = { version = "0.29.1", optional = true } -sentry-tracing = "0.29.1" +sentry-tracing = "0.30.0" serde = { version = "1.0.152", features = ["derive"] } serde_json = "1.0.89" shell-words = "1.1.0" diff --git a/src/orchestrator-tracing/Cargo.toml b/src/orchestrator-tracing/Cargo.toml index 5ab655cd6e441..a26ff74e4177e 100644 --- a/src/orchestrator-tracing/Cargo.toml +++ b/src/orchestrator-tracing/Cargo.toml @@ -18,7 +18,7 @@ mz-orchestrator = { path = "../orchestrator" } mz-ore = { path = "../ore", features = ["tracing_", "cli"] } mz-repr = { path = "../repr", optional = true } mz-service = { path = "../service" } -sentry-tracing = { version = "0.29.1" } +sentry-tracing = { version = "0.30.0" } tracing = { version = "0.1.37" } tracing-subscriber = { version = "0.3.16", default-features = false } opentelemetry = { git = "https://github.com/MaterializeInc/opentelemetry-rust.git", features = ["rt-tokio", "trace"] } diff --git a/src/ore/Cargo.toml b/src/ore/Cargo.toml index 1f3055ed97eef..bcb852af9fb13 100644 --- a/src/ore/Cargo.toml +++ b/src/ore/Cargo.toml @@ -56,7 +56,7 @@ hyper-tls = { version = "0.5.0", optional = true } opentelemetry = { git = "https://github.com/MaterializeInc/opentelemetry-rust.git", features = ["rt-tokio", "trace"], optional = true } opentelemetry-otlp = { git = "https://github.com/MaterializeInc/opentelemetry-rust.git", optional = true } console-subscriber = { git = "https://github.com/MaterializeInc/tokio-console.git", optional = true } -sentry-tracing = { version = "0.29.1", optional = true } +sentry-tracing = { version = "0.30.0", optional = true } yansi = { version = "0.5.1", optional = true } workspace-hack = { version = "0.0.0", path = "../workspace-hack" } diff --git a/src/persist-client/Cargo.toml b/src/persist-client/Cargo.toml index de27a02521ed1..b0e7148460ff2 100644 --- a/src/persist-client/Cargo.toml +++ b/src/persist-client/Cargo.toml @@ -47,7 +47,7 @@ prometheus = { version = "0.13.3", default-features = false } proptest = { git = "https://github.com/MaterializeInc/proptest.git", default-features = false, features = ["std"] } proptest-derive = { git = "https://github.com/MaterializeInc/proptest.git", features = ["boxed_union"]} prost = { version = "0.11.3", features = ["no-recursion-limit"] } -sentry-tracing = "0.29.1" +sentry-tracing = "0.30.0" semver = "1.0.16" serde = { version = "1.0.152", features = ["derive"] } serde_json = "1.0.89" diff --git a/src/service/Cargo.toml b/src/service/Cargo.toml index 4f5374cdf12d9..25d1b4aa4eb1d 100644 --- a/src/service/Cargo.toml +++ b/src/service/Cargo.toml @@ -32,7 +32,7 @@ tokio-stream = "0.1.11" tonic = "0.8.2" tower = "0.4.13" tracing = "0.1.37" -sentry-tracing = "0.29.1" +sentry-tracing = "0.30.0" workspace-hack = { version = "0.0.0", path = "../workspace-hack" } [package.metadata.cargo-udeps.ignore]