From fb8ebd0db8b4cb33309c2068d4fd4c64ddd41114 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:07:37 +0000 Subject: [PATCH] Bump shuttle-secrets from 0.31.0 to 0.37.0 Bumps shuttle-secrets from 0.31.0 to 0.37.0. --- updated-dependencies: - dependency-name: shuttle-secrets dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 371 +++++++++++++++++++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- 2 files changed, 322 insertions(+), 51 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be52156..4fb99b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -447,8 +447,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba" dependencies = [ "crossterm 0.26.1", - "strum", - "strum_macros", + "strum 0.24.1", + "strum_macros 0.24.3", "unicode-width", ] @@ -903,8 +903,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] @@ -913,6 +915,12 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + [[package]] name = "h2" version = "0.3.21" @@ -1270,13 +1278,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.5", - "pem", + "pem 1.1.1", "ring 0.16.20", "serde", "serde_json", "simple_asn1", ] +[[package]] +name = "jsonwebtoken" +version = "9.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7ea04a7c5c055c175f189b6dc6ba036fd62306b58c66c9f6389036c503a3f4" +dependencies = [ + "base64 0.21.5", + "js-sys", + "pem 3.0.3", + "ring 0.17.5", + "serde", + "serde_json", + "simple_asn1", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -1593,7 +1616,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f4b8347cc26099d3aeee044065ecc3ae11469796b4d65d065a23a584ed92a6f" dependencies = [ "opentelemetry_api", - "opentelemetry_sdk", + "opentelemetry_sdk 0.19.0", +] + +[[package]] +name = "opentelemetry" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e32339a5dc40459130b3bd269e9892439f55b33e772d2a9d402a789baaf4e8a" +dependencies = [ + "futures-core", + "futures-sink", + "indexmap 2.1.0", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", + "urlencoding", ] [[package]] @@ -1608,6 +1647,18 @@ dependencies = [ "opentelemetry_api", ] +[[package]] +name = "opentelemetry-http" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f51189ce8be654f9b5f7e70e49967ed894e84a06fc35c6c042e64ac1fc5399e" +dependencies = [ + "async-trait", + "bytes", + "http", + "opentelemetry 0.21.0", +] + [[package]] name = "opentelemetry-otlp" version = "0.12.0" @@ -1618,12 +1669,12 @@ dependencies = [ "futures", "futures-util", "http", - "opentelemetry", + "opentelemetry 0.19.0", "opentelemetry-proto", - "prost", + "prost 0.11.9", "thiserror", "tokio", - "tonic", + "tonic 0.8.3", ] [[package]] @@ -1634,9 +1685,9 @@ checksum = "045f8eea8c0fa19f7d48e7bc3128a39c2e5c533d5c61298c548dfefc1064474c" dependencies = [ "futures", "futures-util", - "opentelemetry", - "prost", - "tonic", + "opentelemetry 0.19.0", + "prost 0.11.9", + "tonic 0.8.3", ] [[package]] @@ -1677,6 +1728,35 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "opentelemetry_sdk" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f16aec8a98a457a52664d69e0091bac3a0abd18ead9b641cb00202ba4e0efe4" +dependencies = [ + "async-trait", + "crossbeam-channel", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "once_cell", + "opentelemetry 0.21.0", + "ordered-float", + "percent-encoding", + "rand", + "thiserror", +] + +[[package]] +name = "ordered-float" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a76df7075c7d4d01fdcb46c912dd17fba5b60c78ea480b475f2b6ab6f666584e" +dependencies = [ + "num-traits", +] + [[package]] name = "orion" version = "0.17.6" @@ -1734,6 +1814,16 @@ dependencies = [ "base64 0.13.1", ] +[[package]] +name = "pem" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" +dependencies = [ + "base64 0.21.5", + "serde", +] + [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -1860,7 +1950,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +dependencies = [ + "bytes", + "prost-derive 0.12.3", ] [[package]] @@ -1876,13 +1976,35 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e" +dependencies = [ + "prost 0.12.3", ] [[package]] @@ -2201,16 +2323,6 @@ dependencies = [ "untrusted 0.9.0", ] -[[package]] -name = "secrecy" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" -dependencies = [ - "serde", - "zeroize", -] - [[package]] name = "security-framework" version = "2.9.2" @@ -2367,10 +2479,10 @@ dependencies = [ "http-body", "http-serde", "hyper", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "once_cell", - "opentelemetry", - "opentelemetry-http", + "opentelemetry 0.19.0", + "opentelemetry-http 0.8.0", "opentelemetry-otlp", "pin-project", "reqwest", @@ -2379,20 +2491,51 @@ dependencies = [ "semver", "serde", "serde_json", - "strum", + "strum 0.24.1", "thiserror", "tokio", - "tonic", + "tonic 0.8.3", "tower", "tower-http", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.19.0", "tracing-subscriber", "ttl_cache", "uuid", "zeroize", ] +[[package]] +name = "shuttle-common" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "735deac187695b33410cd8cc18ef409db54bcfb27698500eb4624d30f45d7431" +dependencies = [ + "anyhow", + "bytes", + "chrono", + "comfy-table", + "crossterm 0.27.0", + "headers", + "http", + "http-body", + "jsonwebtoken 9.2.0", + "opentelemetry 0.21.0", + "opentelemetry-http 0.10.0", + "pin-project", + "semver", + "serde", + "serde_json", + "strum 0.25.0", + "tower", + "tracing", + "tracing-opentelemetry 0.22.0", + "tracing-subscriber", + "url", + "uuid", + "zeroize", +] + [[package]] name = "shuttle-proto" version = "0.31.0" @@ -2403,16 +2546,29 @@ dependencies = [ "chrono", "dunce", "home", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "serde_json", - "shuttle-common", + "shuttle-common 0.31.0", "tokio", - "tonic", + "tonic 0.8.3", "tower", "tracing", ] +[[package]] +name = "shuttle-proto" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11950d438e79df346f0fa7f4ef6265310fade58eeb8122d054ed41f8e8c025ff" +dependencies = [ + "futures-core", + "prost 0.12.3", + "prost-types 0.12.3", + "shuttle-common 0.37.0", + "tonic 0.10.2", +] + [[package]] name = "shuttle-runtime" version = "0.31.0" @@ -2423,32 +2579,30 @@ dependencies = [ "async-trait", "chrono", "colored", - "prost-types", + "prost-types 0.11.9", "serde", "serde_json", "shuttle-codegen", - "shuttle-common", - "shuttle-proto", - "shuttle-service", + "shuttle-common 0.31.0", + "shuttle-proto 0.31.0", + "shuttle-service 0.31.0", "strfmt", "thiserror", "tokio", "tokio-stream", - "tonic", + "tonic 0.8.3", "tower", "tracing-subscriber", ] [[package]] name = "shuttle-secrets" -version = "0.31.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9be054f432ea64d27e06fc261b24d7aac551669212e6c9835a2db225d4dec53" +checksum = "59e0b8604d645ae4ba240f6a44ed4d913bea1021bd4b0e582cc7c99b90196159" dependencies = [ "async-trait", - "secrecy", - "serde", - "shuttle-service", + "shuttle-service 0.37.0", ] [[package]] @@ -2460,7 +2614,22 @@ dependencies = [ "anyhow", "async-trait", "serde", - "shuttle-common", + "shuttle-common 0.31.0", + "strfmt", + "thiserror", +] + +[[package]] +name = "shuttle-service" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02a13d269e942132d7936fa538f2e68af267f938a507c91b5e40a5b1b6881c04" +dependencies = [ + "anyhow", + "async-trait", + "serde", + "shuttle-common 0.37.0", + "shuttle-proto 0.37.0", "strfmt", "thiserror", ] @@ -2473,7 +2642,7 @@ checksum = "4660cb5ef4cc27fa1a5c12e9e7cd827aae613932e774a72b442f9175c837cd45" dependencies = [ "async-trait", "serde", - "shuttle-service", + "shuttle-service 0.31.0", "sqlx", ] @@ -2828,7 +2997,16 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" dependencies = [ - "strum_macros", + "strum_macros 0.24.3", +] + +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros 0.25.3", ] [[package]] @@ -2844,6 +3022,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.38", +] + [[package]] name = "subtle" version = "2.5.0" @@ -3091,8 +3282,8 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", - "prost-derive", + "prost 0.11.9", + "prost-derive 0.11.9", "tokio", "tokio-stream", "tokio-util", @@ -3103,6 +3294,33 @@ dependencies = [ "tracing-futures", ] +[[package]] +name = "tonic" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.21.5", + "bytes", + "h2", + "http", + "http-body", + "hyper", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost 0.12.3", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower" version = "0.4.13" @@ -3232,6 +3450,17 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + [[package]] name = "tracing-opentelemetry" version = "0.19.0" @@ -3239,11 +3468,39 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00a39dcf9bfc1742fa4d6215253b33a6e474be78275884c216fc2a06267b3600" dependencies = [ "once_cell", - "opentelemetry", + "opentelemetry 0.19.0", + "tracing", + "tracing-core", + "tracing-log 0.1.4", + "tracing-subscriber", +] + +[[package]] +name = "tracing-opentelemetry" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c67ac25c5407e7b961fafc6f7e9aa5958fd297aada2d20fa2ae1737357e55596" +dependencies = [ + "js-sys", + "once_cell", + "opentelemetry 0.21.0", + "opentelemetry_sdk 0.21.2", + "smallvec", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.2.0", "tracing-subscriber", + "web-time", +] + +[[package]] +name = "tracing-serde" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" +dependencies = [ + "serde", + "tracing-core", ] [[package]] @@ -3256,12 +3513,15 @@ dependencies = [ "nu-ansi-term", "once_cell", "regex", + "serde", + "serde_json", "sharded-slab", "smallvec", "thread_local", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.1.4", + "tracing-serde", ] [[package]] @@ -3354,6 +3614,7 @@ dependencies = [ "form_urlencoded", "idna", "percent-encoding", + "serde", ] [[package]] @@ -3481,6 +3742,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "web-time" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa30049b1c872b72c89866d458eae9f20380ab280ffd1b1e18df2d3e2d98cfe0" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webpki-roots" version = "0.24.0" diff --git a/Cargo.toml b/Cargo.toml index b225d74..be84753 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" shuttle-axum = "0.31.0" shuttle-runtime = "0.31.0" -shuttle-secrets = "0.31.0" +shuttle-secrets = "0.37.0" shuttle-shared-db = { version = "0.31.0", features = ["postgres", "postgres-rustls"] } sqlx = { version = "0.7", features = ["postgres", "runtime-tokio-rustls"] } tokio = "1.28"