diff --git a/Cargo.lock b/Cargo.lock index 13d6ca93df..3c34484473 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a" dependencies = [ "bitflags 2.6.0", - "bytes 1.7.1", + "bytes 1.10.1", "futures-core", "futures-sink", "memchr", @@ -49,7 +49,7 @@ dependencies = [ "base64 0.22.1", "bitflags 2.6.0", "brotli", - "bytes 1.7.1", + "bytes 1.10.1", "bytestring", "derive_more", "encoding_rs", @@ -81,7 +81,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb" dependencies = [ "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -93,7 +93,7 @@ dependencies = [ "actix-multipart-derive", "actix-utils", "actix-web", - "bytes 1.7.1", + "bytes 1.10.1", "derive_more", "futures-core", "futures-util", @@ -120,7 +120,7 @@ dependencies = [ "parse-size", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -227,7 +227,7 @@ dependencies = [ "actix-utils", "actix-web-codegen", "ahash 0.8.11", - "bytes 1.7.1", + "bytes 1.10.1", "bytestring", "cfg-if 1.0.0", "cookie 0.16.2", @@ -262,7 +262,7 @@ dependencies = [ "actix-router", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -347,9 +347,9 @@ dependencies = [ "actix-web", "api_models", "async-trait", - "aws-config 1.5.5", + "aws-config", "aws-sdk-lambda", - "aws-smithy-types 1.2.4", + "aws-smithy-types", "bigdecimal", "common_enums", "common_utils", @@ -370,7 +370,7 @@ dependencies = [ "sqlx", "storage_impl", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "time", "tokio 1.40.0", ] @@ -520,7 +520,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -532,7 +532,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "synstructure 0.13.1", ] @@ -544,7 +544,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -565,7 +565,7 @@ dependencies = [ "async-trait", "bb8", "diesel", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tracing", ] @@ -613,7 +613,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -624,7 +624,7 @@ checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -661,7 +661,7 @@ dependencies = [ "actix-tls", "actix-utils", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.10.1", "cfg-if 1.0.0", "cookie 0.16.2", "derive_more", @@ -684,54 +684,24 @@ dependencies = [ [[package]] name = "aws-config" -version = "0.55.3" +version = "1.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcdcf0d683fe9c23d32cf5b53c9918ea0a500375a9fb20109802552658e576c9" +checksum = "9b49afaa341e8dd8577e1a2200468f98956d6eda50bcf4a53246cc00174ba924" dependencies = [ - "aws-credential-types 0.55.3", - "aws-http", - "aws-sdk-sso 0.28.0", - "aws-sdk-sts 0.28.0", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", - "fastrand 1.9.0", - "hex", - "http 0.2.12", - "hyper 0.14.30", - "ring 0.16.20", - "time", - "tokio 1.40.0", - "tower", - "tracing", - "zeroize", -] - -[[package]] -name = "aws-config" -version = "1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e95816a168520d72c0e7680c405a5a8c1fb6a035b4bc4b9d7b0de8e1a941697" -dependencies = [ - "aws-credential-types 1.2.1", + "aws-credential-types", "aws-runtime", - "aws-sdk-sso 1.40.0", + "aws-sdk-sso", "aws-sdk-ssooidc", - "aws-sdk-sts 1.40.0", - "aws-smithy-async 1.2.1", - "aws-smithy-http 0.60.10", + "aws-sdk-sts", + "aws-smithy-async", + "aws-smithy-http 0.60.12", "aws-smithy-json 0.60.7", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-types 1.3.3", - "bytes 1.7.1", - "fastrand 2.1.1", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", + "fastrand", "hex", "http 0.2.12", "ring 0.17.8", @@ -744,80 +714,33 @@ dependencies = [ [[package]] name = "aws-credential-types" -version = "0.55.3" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fcdb2f7acbc076ff5ad05e7864bdb191ca70a6fd07668dc3a1a8bcd051de5ae" +checksum = "4471bef4c22a06d2c7a1b6492493d3fdf24a805323109d6874f9c94d5906ac14" dependencies = [ - "aws-smithy-async 0.55.3", - "aws-smithy-types 0.55.3", - "fastrand 1.9.0", - "tokio 1.40.0", - "tracing", - "zeroize", -] - -[[package]] -name = "aws-credential-types" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60e8f6b615cb5fc60a98132268508ad104310f0cfb25a1c22eee76efdf9154da" -dependencies = [ - "aws-smithy-async 1.2.1", + "aws-smithy-async", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", + "aws-smithy-types", "zeroize", ] -[[package]] -name = "aws-endpoint" -version = "0.55.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cce1c41a6cfaa726adee9ebb9a56fcd2bbfd8be49fd8a04c5e20fd968330b04" -dependencies = [ - "aws-smithy-http 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "http 0.2.12", - "regex", - "tracing", -] - -[[package]] -name = "aws-http" -version = "0.55.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aadbc44e7a8f3e71c8b374e03ecd972869eb91dd2bc89ed018954a52ba84bc44" -dependencies = [ - "aws-credential-types 0.55.3", - "aws-smithy-http 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", - "http 0.2.12", - "http-body 0.4.6", - "lazy_static", - "percent-encoding", - "pin-project-lite", - "tracing", -] - [[package]] name = "aws-runtime" -version = "1.4.2" +version = "1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2424565416eef55906f9f8cece2072b6b6a76075e3ff81483ebe938a89a4c05f" +checksum = "0aff45ffe35196e593ea3b9dd65b320e51e2dda95aff4390bc459e461d09c6ad" dependencies = [ - "aws-credential-types 1.2.1", - "aws-sigv4 1.2.3", - "aws-smithy-async 1.2.1", - "aws-smithy-eventstream 0.60.4", - "aws-smithy-http 0.60.10", + "aws-credential-types", + "aws-sigv4", + "aws-smithy-async", + "aws-smithy-eventstream", + "aws-smithy-http 0.62.0", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-types 1.3.3", - "bytes 1.7.1", - "fastrand 2.1.1", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", + "fastrand", "http 0.2.12", "http-body 0.4.6", "once_cell", @@ -829,46 +752,43 @@ dependencies = [ [[package]] name = "aws-sdk-kms" -version = "0.28.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545335abd7c6ef7285d2972a67b9f8279ff5fec8bbb3ffc637fa436ba1e6e434" +checksum = "3c30f6fd5646b99d9b45ec3a0c22e67112c175b2383100c960d7ee39d96c8d96" dependencies = [ - "aws-credential-types 0.55.3", - "aws-endpoint", - "aws-http", - "aws-sig-auth", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", + "aws-credential-types", + "aws-runtime", + "aws-smithy-async", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", "http 0.2.12", - "regex", - "tokio-stream", - "tower", + "once_cell", + "regex-lite", "tracing", ] [[package]] name = "aws-sdk-lambda" -version = "1.43.0" +version = "1.60.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd9e398f83bbd720e4bf785b9638f8c2189093da50edc2001966c53bf6d87b0c" +checksum = "c1badb81ceafb6b329cd94a8d218e098b842c051da7821d66002f218106b073c" dependencies = [ - "aws-credential-types 1.2.1", + "aws-credential-types", "aws-runtime", - "aws-smithy-async 1.2.1", - "aws-smithy-eventstream 0.60.4", - "aws-smithy-http 0.60.10", - "aws-smithy-json 0.60.7", + "aws-smithy-async", + "aws-smithy-eventstream", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-types 1.3.3", - "bytes 1.7.1", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", "http 0.2.12", "once_cell", "regex-lite", @@ -877,103 +797,76 @@ dependencies = [ [[package]] name = "aws-sdk-s3" -version = "0.28.0" +version = "1.65.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fba197193cbb4bcb6aad8d99796b2291f36fa89562ded5d4501363055b0de89f" +checksum = "d3ba2c5c0f2618937ce3d4a5ad574b86775576fa24006bcb3128c6e2cbf3c34e" dependencies = [ - "aws-credential-types 0.55.3", - "aws-endpoint", - "aws-http", - "aws-sig-auth", - "aws-sigv4 0.55.3", - "aws-smithy-async 0.55.3", + "aws-credential-types", + "aws-runtime", + "aws-sigv4", + "aws-smithy-async", "aws-smithy-checksums", - "aws-smithy-client", - "aws-smithy-eventstream 0.55.3", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-types 0.55.3", - "aws-smithy-xml 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", + "aws-smithy-eventstream", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-smithy-xml", + "aws-types", + "bytes 1.10.1", + "fastrand", + "hex", + "hmac", "http 0.2.12", "http-body 0.4.6", + "lru", "once_cell", "percent-encoding", - "regex", - "tokio-stream", - "tower", + "regex-lite", + "sha2", "tracing", "url", ] [[package]] name = "aws-sdk-sesv2" -version = "0.28.0" +version = "1.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4891169a246b580136f4d3682c11a68b710bdc1027dd7774023fa651a87f10b6" +checksum = "3dfdd8eabbf8aea436830307108e249d9c60f7ecbd6a6953fda475d8985a8288" dependencies = [ - "aws-credential-types 0.55.3", - "aws-endpoint", - "aws-http", - "aws-sig-auth", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", - "http 0.2.12", - "regex", - "tokio-stream", - "tower", - "tracing", -] - -[[package]] -name = "aws-sdk-sso" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b812340d86d4a766b2ca73f740dfd47a97c2dff0c06c8517a16d88241957e4" -dependencies = [ - "aws-credential-types 0.55.3", - "aws-endpoint", - "aws-http", - "aws-sig-auth", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-types 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", - "http 0.2.12", - "regex", - "tokio-stream", - "tower", - "tracing", -] - -[[package]] -name = "aws-sdk-sso" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5879bec6e74b648ce12f6085e7245417bc5f6d672781028384d2e494be3eb6d" -dependencies = [ - "aws-credential-types 1.2.1", + "aws-credential-types", "aws-runtime", - "aws-smithy-async 1.2.1", - "aws-smithy-http 0.60.10", - "aws-smithy-json 0.60.7", + "aws-smithy-async", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-types 1.3.3", - "bytes 1.7.1", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", + "http 0.2.12", + "once_cell", + "regex-lite", + "tracing", +] + +[[package]] +name = "aws-sdk-sso" +version = "1.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05ca43a4ef210894f93096039ef1d6fa4ad3edfabb3be92b80908b9f2e4b4eab" +dependencies = [ + "aws-credential-types", + "aws-runtime", + "aws-smithy-async", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", + "aws-smithy-runtime", + "aws-smithy-runtime-api", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", "http 0.2.12", "once_cell", "regex-lite", @@ -982,20 +875,20 @@ dependencies = [ [[package]] name = "aws-sdk-ssooidc" -version = "1.41.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ef4cd9362f638c22a3b959fd8df292e7e47fdf170270f86246b97109b5f2f7d" +checksum = "abaf490c2e48eed0bb8e2da2fb08405647bd7f253996e0f93b981958ea0f73b0" dependencies = [ - "aws-credential-types 1.2.1", + "aws-credential-types", "aws-runtime", - "aws-smithy-async 1.2.1", - "aws-smithy-http 0.60.10", - "aws-smithy-json 0.60.7", + "aws-smithy-async", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-types 1.3.3", - "bytes 1.7.1", + "aws-smithy-types", + "aws-types", + "bytes 1.10.1", "http 0.2.12", "once_cell", "regex-lite", @@ -1004,130 +897,61 @@ dependencies = [ [[package]] name = "aws-sdk-sts" -version = "0.28.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "265fac131fbfc188e5c3d96652ea90ecc676a934e3174eaaee523c6cec040b3b" +checksum = "b68fde0d69c8bfdc1060ea7da21df3e39f6014da316783336deff0a9ec28f4bf" dependencies = [ - "aws-credential-types 0.55.3", - "aws-endpoint", - "aws-http", - "aws-sig-auth", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-json 0.55.3", - "aws-smithy-query 0.55.3", - "aws-smithy-types 0.55.3", - "aws-smithy-xml 0.55.3", - "aws-types 0.55.3", - "bytes 1.7.1", - "http 0.2.12", - "regex", - "tower", - "tracing", -] - -[[package]] -name = "aws-sdk-sts" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b1e2735d2ab28b35ecbb5496c9d41857f52a0d6a0075bbf6a8af306045ea6f6" -dependencies = [ - "aws-credential-types 1.2.1", + "aws-credential-types", "aws-runtime", - "aws-smithy-async 1.2.1", - "aws-smithy-http 0.60.10", - "aws-smithy-json 0.60.7", - "aws-smithy-query 0.60.7", + "aws-smithy-async", + "aws-smithy-http 0.60.12", + "aws-smithy-json 0.61.3", + "aws-smithy-query", "aws-smithy-runtime", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "aws-smithy-xml 0.60.8", - "aws-types 1.3.3", + "aws-smithy-types", + "aws-smithy-xml", + "aws-types", "http 0.2.12", "once_cell", "regex-lite", "tracing", ] -[[package]] -name = "aws-sig-auth" -version = "0.55.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b94acb10af0c879ecd5c7bdf51cda6679a0a4f4643ce630905a77673bfa3c61" -dependencies = [ - "aws-credential-types 0.55.3", - "aws-sigv4 0.55.3", - "aws-smithy-eventstream 0.55.3", - "aws-smithy-http 0.55.3", - "aws-types 0.55.3", - "http 0.2.12", - "tracing", -] - [[package]] name = "aws-sigv4" -version = "0.55.3" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d2ce6f507be68e968a33485ced670111d1cbad161ddbbab1e313c03d37d8f4c" +checksum = "69d03c3c05ff80d54ff860fe38c726f6f494c639ae975203a101335f223386db" dependencies = [ - "aws-smithy-eventstream 0.55.3", - "aws-smithy-http 0.55.3", - "bytes 1.7.1", - "form_urlencoded", - "hex", - "hmac", - "http 0.2.12", - "once_cell", - "percent-encoding", - "regex", - "sha2", - "time", - "tracing", -] - -[[package]] -name = "aws-sigv4" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5df1b0fa6be58efe9d4ccc257df0a53b89cd8909e86591a13ca54817c87517be" -dependencies = [ - "aws-credential-types 1.2.1", - "aws-smithy-eventstream 0.60.4", - "aws-smithy-http 0.60.10", + "aws-credential-types", + "aws-smithy-eventstream", + "aws-smithy-http 0.62.0", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "bytes 1.7.1", + "aws-smithy-types", + "bytes 1.10.1", + "crypto-bigint 0.5.5", "form_urlencoded", "hex", "hmac", "http 0.2.12", "http 1.1.0", "once_cell", + "p256 0.11.1", "percent-encoding", + "ring 0.17.8", "sha2", + "subtle", "time", "tracing", + "zeroize", ] [[package]] name = "aws-smithy-async" -version = "0.55.3" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13bda3996044c202d75b91afeb11a9afae9db9a721c6a7a427410018e286b880" -dependencies = [ - "futures-util", - "pin-project-lite", - "tokio 1.40.0", - "tokio-stream", -] - -[[package]] -name = "aws-smithy-async" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62220bc6e97f946ddd51b5f1361f78996e704677afc518a4ff66b7a72ea1378c" +checksum = "1e190749ea56f8c42bf15dd76c65e14f8f765233e6df9b0506d9d934ebef867c" dependencies = [ "futures-util", "pin-project-lite", @@ -1136,13 +960,13 @@ dependencies = [ [[package]] name = "aws-smithy-checksums" -version = "0.55.3" +version = "0.60.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07ed8b96d95402f3f6b8b57eb4e0e45ee365f78b1a924faf20ff6e97abf1eae6" +checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795" dependencies = [ - "aws-smithy-http 0.55.3", - "aws-smithy-types 0.55.3", - "bytes 1.7.1", + "aws-smithy-http 0.60.12", + "aws-smithy-types", + "bytes 1.10.1", "crc32c", "crc32fast", "hex", @@ -1155,85 +979,27 @@ dependencies = [ "tracing", ] -[[package]] -name = "aws-smithy-client" -version = "0.55.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a86aa6e21e86c4252ad6a0e3e74da9617295d8d6e374d552be7d3059c41cedd" -dependencies = [ - "aws-smithy-async 0.55.3", - "aws-smithy-http 0.55.3", - "aws-smithy-http-tower", - "aws-smithy-types 0.55.3", - "bytes 1.7.1", - "fastrand 1.9.0", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.30", - "hyper-rustls 0.23.2", - "lazy_static", - "pin-project-lite", - "rustls 0.20.9", - "tokio 1.40.0", - "tower", - "tracing", -] - [[package]] name = "aws-smithy-eventstream" -version = "0.55.3" +version = "0.60.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460c8da5110835e3d9a717c61f5556b20d03c32a1dec57f8fc559b360f733bb8" +checksum = "7c45d3dddac16c5c59d553ece225a88870cf81b7b813c9cc17b78cf4685eac7a" dependencies = [ - "aws-smithy-types 0.55.3", - "bytes 1.7.1", - "crc32fast", -] - -[[package]] -name = "aws-smithy-eventstream" -version = "0.60.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6363078f927f612b970edf9d1903ef5cef9a64d1e8423525ebb1f0a1633c858" -dependencies = [ - "aws-smithy-types 1.2.4", - "bytes 1.7.1", + "aws-smithy-types", + "bytes 1.10.1", "crc32fast", ] [[package]] name = "aws-smithy-http" -version = "0.55.3" +version = "0.60.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b3b693869133551f135e1f2c77cb0b8277d9e3e17feaf2213f735857c4f0d28" +checksum = "7809c27ad8da6a6a68c454e651d4962479e81472aa19ae99e59f9aba1f9713cc" dependencies = [ - "aws-smithy-eventstream 0.55.3", - "aws-smithy-types 0.55.3", - "bytes 1.7.1", - "bytes-utils", - "futures-core", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.30", - "once_cell", - "percent-encoding", - "pin-project-lite", - "pin-utils", - "tokio 1.40.0", - "tokio-util", - "tracing", -] - -[[package]] -name = "aws-smithy-http" -version = "0.60.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01dbcb6e2588fd64cfb6d7529661b06466419e4c54ed1c62d6510d2d0350a728" -dependencies = [ - "aws-smithy-eventstream 0.60.4", + "aws-smithy-eventstream", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "bytes 1.7.1", + "aws-smithy-types", + "bytes 1.10.1", "bytes-utils", "futures-core", "http 0.2.12", @@ -1246,28 +1012,44 @@ dependencies = [ ] [[package]] -name = "aws-smithy-http-tower" -version = "0.55.3" +name = "aws-smithy-http" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae4f6c5798a247fac98a867698197d9ac22643596dc3777f0c76b91917616b9" +checksum = "c5949124d11e538ca21142d1fba61ab0a2a2c1bc3ed323cdb3e4b878bfb83166" dependencies = [ - "aws-smithy-http 0.55.3", - "aws-smithy-types 0.55.3", - "bytes 1.7.1", + "aws-smithy-runtime-api", + "aws-smithy-types", + "bytes 1.10.1", + "bytes-utils", + "futures-core", "http 0.2.12", + "http 1.1.0", "http-body 0.4.6", + "once_cell", + "percent-encoding", "pin-project-lite", - "tower", + "pin-utils", "tracing", ] [[package]] -name = "aws-smithy-json" -version = "0.55.3" +name = "aws-smithy-http-client" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23f9f42fbfa96d095194a632fbac19f60077748eba536eb0b9fecc28659807f8" +checksum = "0497ef5d53065b7cd6a35e9c1654bd1fefeae5c52900d91d1b188b0af0f29324" dependencies = [ - "aws-smithy-types 0.55.3", + "aws-smithy-async", + "aws-smithy-runtime-api", + "aws-smithy-types", + "h2 0.4.6", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.30", + "hyper-rustls 0.24.2", + "pin-project-lite", + "rustls 0.21.12", + "tokio 1.40.0", + "tracing", ] [[package]] @@ -1276,17 +1058,16 @@ version = "0.60.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6" dependencies = [ - "aws-smithy-types 1.2.4", + "aws-smithy-types", ] [[package]] -name = "aws-smithy-query" -version = "0.55.3" +name = "aws-smithy-json" +version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98819eb0b04020a1c791903533b638534ae6c12e2aceda3e6e6fba015608d51d" +checksum = "92144e45819cae7dc62af23eac5a038a58aa544432d2102609654376a900bd07" dependencies = [ - "aws-smithy-types 0.55.3", - "urlencoding", + "aws-smithy-types", ] [[package]] @@ -1295,46 +1076,43 @@ version = "0.60.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2fbd61ceb3fe8a1cb7352e42689cec5335833cd9f94103a61e98f9bb61c64bb" dependencies = [ - "aws-smithy-types 1.2.4", + "aws-smithy-types", "urlencoding", ] [[package]] name = "aws-smithy-runtime" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ce695746394772e7000b39fe073095db6d45a862d0767dd5ad0ac0d7f8eb87" +checksum = "f6328865e36c6fd970094ead6b05efd047d3a80ec5fc3be5e743910da9f2ebf8" dependencies = [ - "aws-smithy-async 1.2.1", - "aws-smithy-http 0.60.10", + "aws-smithy-async", + "aws-smithy-http 0.62.0", + "aws-smithy-http-client", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", - "bytes 1.7.1", - "fastrand 2.1.1", - "h2 0.3.26", + "aws-smithy-types", + "bytes 1.10.1", + "fastrand", "http 0.2.12", + "http 1.1.0", "http-body 0.4.6", "http-body 1.0.1", - "httparse", - "hyper 0.14.30", - "hyper-rustls 0.24.2", "once_cell", "pin-project-lite", "pin-utils", - "rustls 0.21.12", "tokio 1.40.0", "tracing", ] [[package]] name = "aws-smithy-runtime-api" -version = "1.7.2" +version = "1.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e086682a53d3aa241192aa110fa8dfce98f2f5ac2ead0de84d41582c7e8fdb96" +checksum = "3da37cf5d57011cb1753456518ec76e31691f1f474b73934a284eb2a1c76510f" dependencies = [ - "aws-smithy-async 1.2.1", - "aws-smithy-types 1.2.4", - "bytes 1.7.1", + "aws-smithy-async", + "aws-smithy-types", + "bytes 1.10.1", "http 0.2.12", "http 1.1.0", "pin-project-lite", @@ -1345,25 +1123,12 @@ dependencies = [ [[package]] name = "aws-smithy-types" -version = "0.55.3" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a3d0bf4f324f4ef9793b86a1701d9700fbcdbd12a846da45eed104c634c6e8" +checksum = "836155caafba616c0ff9b07944324785de2ab016141c3550bd1c07882f8cee8f" dependencies = [ "base64-simd", - "itoa", - "num-integer", - "ryu", - "time", -] - -[[package]] -name = "aws-smithy-types" -version = "1.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "273dcdfd762fae3e1650b8024624e7cd50e484e37abdab73a7a706188ad34543" -dependencies = [ - "base64-simd", - "bytes 1.7.1", + "bytes 1.10.1", "bytes-utils", "futures-core", "http 0.2.12", @@ -1384,48 +1149,23 @@ dependencies = [ [[package]] name = "aws-smithy-xml" -version = "0.55.3" +version = "0.60.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1b9d12875731bd07e767be7baad95700c3137b56730ec9ddeedb52a5e5ca63b" -dependencies = [ - "xmlparser", -] - -[[package]] -name = "aws-smithy-xml" -version = "0.60.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d123fbc2a4adc3c301652ba8e149bf4bc1d1725affb9784eb20c953ace06bf55" +checksum = "ab0b0166827aa700d3dc519f72f8b3a91c35d0b8d042dc5d643a91e6f80648fc" dependencies = [ "xmlparser", ] [[package]] name = "aws-types" -version = "0.55.3" +version = "1.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dd209616cc8d7bfb82f87811a5c655dc97537f592689b18743bddf5dc5c4829" +checksum = "3873f8deed8927ce8d04487630dc9ff73193bab64742a61d050e57a68dec4125" dependencies = [ - "aws-credential-types 0.55.3", - "aws-smithy-async 0.55.3", - "aws-smithy-client", - "aws-smithy-http 0.55.3", - "aws-smithy-types 0.55.3", - "http 0.2.12", - "rustc_version 0.4.1", - "tracing", -] - -[[package]] -name = "aws-types" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5221b91b3e441e6675310829fd8984801b772cb1546ef6c0e54dec9f1ac13fef" -dependencies = [ - "aws-credential-types 1.2.1", - "aws-smithy-async 1.2.1", + "aws-credential-types", + "aws-smithy-async", "aws-smithy-runtime-api", - "aws-smithy-types 1.2.4", + "aws-smithy-types", "rustc_version 0.4.1", "tracing", ] @@ -1438,7 +1178,7 @@ checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" dependencies = [ "async-trait", "axum-core", - "bytes 1.7.1", + "bytes 1.10.1", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -1464,7 +1204,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" dependencies = [ "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -1492,6 +1232,12 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + [[package]] name = "base16ct" version = "0.2.0" @@ -1679,7 +1425,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "syn_derive", ] @@ -1772,9 +1518,9 @@ dependencies = [ [[package]] name = "bytes" -version = "1.7.1" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "bytes-utils" @@ -1782,7 +1528,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dafe3a8757b027e2be6e4e5601ed563c55989fcf1546e933c66c8eb3a058d35" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "either", ] @@ -1792,7 +1538,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74d80203ea6b29df88012294f62733de21cfeab47f17b41af3a38bc30a03ee72" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", ] [[package]] @@ -1816,7 +1562,7 @@ dependencies = [ "router_env", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -1840,7 +1586,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1994,7 +1740,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2028,7 +1774,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "utoipa", ] @@ -2054,7 +1800,7 @@ dependencies = [ "base64 0.22.1", "base64-serde", "blake3", - "bytes 1.7.1", + "bytes 1.10.1", "common_enums", "diesel", "error-stack", @@ -2086,7 +1832,7 @@ dependencies = [ "signal-hook-tokio", "strum 0.26.3", "test-case", - "thiserror", + "thiserror 1.0.63", "time", "tokio 1.40.0", "url", @@ -2427,6 +2173,18 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-bigint" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" +dependencies = [ + "generic-array", + "rand_core", + "subtle", + "zeroize", +] + [[package]] name = "crypto-bigint" version = "0.5.5" @@ -2478,7 +2236,7 @@ dependencies = [ "rust_decimal", "rusty-money", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2505,7 +2263,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2553,7 +2311,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2575,7 +2333,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2615,6 +2373,16 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b" +[[package]] +name = "der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der" version = "0.7.9" @@ -2702,7 +2470,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2737,7 +2505,7 @@ dependencies = [ "dsl_auto_type", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2768,7 +2536,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -2778,7 +2546,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "209c735641a413bc68c4923a9d6ad4bcb3ca306b794edaa7eb0b3228a99ffb25" dependencies = [ - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2801,7 +2569,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2859,7 +2627,7 @@ dependencies = [ "serde", "serde_json", "serde_path_to_error", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", ] @@ -2874,7 +2642,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -2883,18 +2651,30 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +[[package]] +name = "ecdsa" +version = "0.14.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +dependencies = [ + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + [[package]] name = "ecdsa" version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der", + "der 0.7.9", "digest", - "elliptic-curve", - "rfc6979", - "signature", - "spki", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", ] [[package]] @@ -2903,8 +2683,8 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "pkcs8", - "signature", + "pkcs8 0.10.2", + "signature 2.2.0", ] [[package]] @@ -2930,23 +2710,43 @@ dependencies = [ "serde", ] +[[package]] +name = "elliptic-curve" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +dependencies = [ + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", + "digest", + "ff 0.12.1", + "generic-array", + "group 0.12.1", + "pkcs8 0.9.0", + "rand_core", + "sec1 0.3.0", + "subtle", + "zeroize", +] + [[package]] name = "elliptic-curve" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct", - "crypto-bigint", + "base16ct 0.2.0", + "crypto-bigint 0.5.5", "digest", - "ff", + "ff 0.13.0", "generic-array", - "group", + "group 0.13.0", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.10.2", "rand_core", - "sec1", + "sec1 0.7.3", "subtle", "zeroize", ] @@ -3048,7 +2848,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "utoipa", ] @@ -3060,7 +2860,7 @@ dependencies = [ "quote", "rustc-hash", "strum 0.26.3", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -3114,7 +2914,7 @@ dependencies = [ "router_env", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -3124,12 +2924,12 @@ version = "0.1.0" dependencies = [ "api_models", "async-trait", - "aws-config 0.55.3", + "aws-config", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sesv2", - "aws-sdk-sts 0.28.0", - "aws-smithy-client", + "aws-sdk-sts", + "aws-smithy-runtime", "base64 0.22.1", "common_utils", "dyn-clone", @@ -3146,7 +2946,7 @@ dependencies = [ "prost", "router_env", "serde", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tonic", "tonic-build", @@ -3189,18 +2989,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "1.9.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fdeflate" @@ -3211,6 +3002,16 @@ dependencies = [ "simd-adler32", ] +[[package]] +name = "ff" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" +dependencies = [ + "rand_core", + "subtle", +] + [[package]] name = "ff" version = "0.13.0" @@ -3269,6 +3070,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "foreign-types" version = "0.3.2" @@ -3301,7 +3108,7 @@ checksum = "b99c2b48934cd02a81032dd7428b7ae831a27794275bc94eba367418db8a9e55" dependencies = [ "arc-swap", "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "bytes-utils", "float-cmp", "futures 0.3.30", @@ -3376,9 +3183,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" @@ -3416,7 +3223,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -3559,13 +3366,24 @@ dependencies = [ "tempfile", ] +[[package]] +name = "group" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +dependencies = [ + "ff 0.12.1", + "rand_core", + "subtle", +] + [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff", + "ff 0.13.0", "rand_core", "subtle", ] @@ -3576,7 +3394,7 @@ version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "fnv", "futures-core", "futures-sink", @@ -3596,7 +3414,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" dependencies = [ "atomic-waker", - "bytes 1.7.1", + "bytes 1.10.1", "fnv", "futures-core", "futures-sink", @@ -3644,12 +3462,23 @@ dependencies = [ ] [[package]] -name = "hashlink" -version = "0.9.1" +name = "hashbrown" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ - "hashbrown 0.14.5", + "allocator-api2", + "equivalent", + "foldhash", +] + +[[package]] +name = "hashlink" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +dependencies = [ + "hashbrown 0.15.2", ] [[package]] @@ -3659,7 +3488,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.10.1", "headers-core", "http 0.2.12", "httpdate", @@ -3767,7 +3596,7 @@ version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "fnv", "itoa", ] @@ -3778,7 +3607,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "fnv", "itoa", ] @@ -3789,7 +3618,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "http 0.2.12", "pin-project-lite", ] @@ -3800,7 +3629,7 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "http 1.1.0", ] @@ -3810,7 +3639,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -3844,7 +3673,7 @@ version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures-channel", "futures-core", "futures-util", @@ -3864,11 +3693,11 @@ dependencies = [ [[package]] name = "hyper" -version = "1.4.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures-channel", "futures-util", "h2 0.4.6", @@ -3889,7 +3718,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures 0.3.30", "headers", "http 0.2.12", @@ -3938,7 +3767,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" dependencies = [ - "hyper 1.4.1", + "hyper 1.6.0", "hyper-util", "pin-project-lite", "tokio 1.40.0", @@ -3951,7 +3780,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "hyper 0.14.30", "native-tls", "tokio 1.40.0", @@ -3964,9 +3793,9 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.6.0", "hyper-util", "native-tls", "tokio 1.40.0", @@ -3980,12 +3809,12 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures-channel", "futures-util", "http 1.1.0", "http-body 1.0.1", - "hyper 1.4.1", + "hyper 1.6.0", "pin-project-lite", "socket2", "tokio 1.40.0", @@ -4002,7 +3831,7 @@ dependencies = [ "api_models", "async-trait", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.10.1", "cards", "common_enums", "common_types", @@ -4049,7 +3878,7 @@ dependencies = [ "rustc-hash", "serde", "strum 0.25.0", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -4075,7 +3904,7 @@ dependencies = [ "serde", "serde_json", "serde_with", - "thiserror", + "thiserror 1.0.63", "time", "url", "utoipa", @@ -4088,7 +3917,7 @@ dependencies = [ "actix-web", "api_models", "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "common_enums", "common_utils", "dyn-clone", @@ -4104,7 +3933,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "time", "url", ] @@ -4247,7 +4076,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -4352,15 +4181,6 @@ dependencies = [ "cfb", ] -[[package]] -name = "instant" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" -dependencies = [ - "cfg-if 1.0.0", -] - [[package]] name = "into-attr" version = "0.1.1" @@ -4440,7 +4260,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ea1dc4bf0fb4904ba83ffdb98af3d9c325274e92e6e295e4151e86c96363e04" dependencies = [ "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -4461,15 +4281,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.13.0" @@ -4507,7 +4318,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -4525,7 +4336,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -4588,7 +4399,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -4609,7 +4420,7 @@ dependencies = [ "convert_case 0.6.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -4637,7 +4448,7 @@ dependencies = [ "chumsky", "email-encoding", "email_address", - "fastrand 2.1.1", + "fastrand", "futures-util", "hostname", "httpdate", @@ -4692,7 +4503,6 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" dependencies = [ - "cc", "pkg-config", "vcpkg", ] @@ -4775,6 +4585,15 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +[[package]] +name = "lru" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.2", +] + [[package]] name = "lru-cache" version = "0.1.2" @@ -4797,7 +4616,7 @@ dependencies = [ name = "masking" version = "0.1.0" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "diesel", "erased-serde 0.4.5", "scylla", @@ -4845,7 +4664,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -5030,7 +4849,7 @@ dependencies = [ "rustc_version 0.4.1", "smallvec 1.13.2", "tagptr", - "thiserror", + "thiserror 1.0.63", "triomphe", "uuid", ] @@ -5235,7 +5054,7 @@ dependencies = [ "kinded", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "urlencoding", ] @@ -5255,7 +5074,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "sha2", - "thiserror", + "thiserror 1.0.63", "url", ] @@ -5279,9 +5098,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc" [[package]] name = "oncemutex" @@ -5322,7 +5141,7 @@ dependencies = [ "itertools 0.10.5", "log", "oauth2", - "p256", + "p256 0.13.2", "p384", "rand", "rsa", @@ -5335,7 +5154,7 @@ dependencies = [ "serde_with", "sha2", "subtle", - "thiserror", + "thiserror 1.0.63", "url", ] @@ -5345,12 +5164,12 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a62b025c3503d3d53eaba3b6f14adb955af9f69fc71141b4d030a4e5331f5d42" dependencies = [ - "aws-credential-types 1.2.1", - "aws-sigv4 1.2.3", + "aws-credential-types", + "aws-sigv4", "aws-smithy-runtime-api", - "aws-types 1.3.3", + "aws-types", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.10.1", "dyn-clone", "lazy_static", "percent-encoding", @@ -5386,7 +5205,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -5417,7 +5236,7 @@ dependencies = [ "futures-sink", "js-sys", "pin-project-lite", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -5446,7 +5265,7 @@ dependencies = [ "opentelemetry-proto", "opentelemetry_sdk", "prost", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tonic", ] @@ -5477,7 +5296,7 @@ dependencies = [ "opentelemetry", "percent-encoding", "rand", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tokio-stream", ] @@ -5513,14 +5332,25 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "p256" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" +dependencies = [ + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2", +] + [[package]] name = "p256" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", "primeorder", "sha2", ] @@ -5531,8 +5361,8 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", "primeorder", "sha2", ] @@ -5673,7 +5503,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.63", "ucd-trie", ] @@ -5697,7 +5527,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -5768,7 +5598,7 @@ dependencies = [ "bincode", "either", "fnv", - "itertools 0.12.1", + "itertools 0.11.0", "lazy_static", "nom", "quick-xml", @@ -5777,7 +5607,7 @@ dependencies = [ "serde", "serde_derive", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -5797,7 +5627,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -5818,9 +5648,19 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" dependencies = [ - "der", - "pkcs8", - "spki", + "der 0.7.9", + "pkcs8 0.10.2", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", ] [[package]] @@ -5829,8 +5669,8 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der", - "spki", + "der 0.7.9", + "spki 0.7.3", ] [[package]] @@ -5873,7 +5713,7 @@ version = "0.1.0" dependencies = [ "api_models", "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "common_enums", "common_utils", "error-stack", @@ -5883,7 +5723,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -5930,7 +5770,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -5939,7 +5779,7 @@ version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" dependencies = [ - "elliptic-curve", + "elliptic-curve 0.13.8", ] [[package]] @@ -5987,9 +5827,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" dependencies = [ "unicode-ident", ] @@ -6020,7 +5860,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b2ecbe40f08db5c006b5764a2645f7f3f141ce756412ac9e1dd6087e6d32995" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "prost-derive", ] @@ -6030,7 +5870,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8650aabb6c35b860610e9cff5dc1af886c9e25073b7b1712a68972af4281302" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "heck 0.5.0", "itertools 0.13.0", "log", @@ -6041,7 +5881,7 @@ dependencies = [ "prost", "prost-types", "regex", - "syn 2.0.77", + "syn 2.0.100", "tempfile", ] @@ -6055,7 +5895,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -6281,7 +6121,7 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c31deddf734dc0a39d3112e73490e88b61a05e83e074d211f348404cee4d2c6" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "bytes-utils", "cookie-factory", "crc16", @@ -6298,7 +6138,7 @@ dependencies = [ "fred", "futures 0.3.30", "serde", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tokio-stream", "tracing", @@ -6407,7 +6247,7 @@ checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "async-compression", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.10.1", "encoding_rs", "futures-core", "futures-util", @@ -6454,13 +6294,13 @@ checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63" dependencies = [ "async-compression", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.10.1", "futures-core", "futures-util", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.6.0", "hyper-tls 0.6.0", "hyper-util", "ipnet", @@ -6487,6 +6327,17 @@ dependencies = [ "windows-registry", ] +[[package]] +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +dependencies = [ + "crypto-bigint 0.4.9", + "hmac", + "zeroize", +] + [[package]] name = "rfc6979" version = "0.4.0" @@ -6535,7 +6386,7 @@ checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec", "bytecheck", - "bytes 1.7.1", + "bytes 1.10.1", "hashbrown 0.12.3", "ptr_meta", "rend", @@ -6599,7 +6450,7 @@ dependencies = [ "base64 0.22.1", "bb8", "blake3", - "bytes 1.7.1", + "bytes 1.10.1", "cards", "clap", "common_enums", @@ -6676,7 +6527,7 @@ dependencies = [ "strum 0.26.3", "tera", "test_utils", - "thiserror", + "thiserror 1.0.63", "time", "tokio 1.40.0", "totp-rs", @@ -6705,7 +6556,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "syn 2.0.77", + "syn 2.0.100", "utoipa", ] @@ -6756,10 +6607,10 @@ dependencies = [ "num-integer", "num-traits", "pkcs1", - "pkcs8", + "pkcs8 0.10.2", "rand_core", - "signature", - "spki", + "signature 2.2.0", + "spki 0.7.3", "subtle", "zeroize", ] @@ -6790,7 +6641,7 @@ dependencies = [ "serde", "serde_json", "serde_yml", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -6833,7 +6684,7 @@ checksum = "b082d80e3e3cc52b2ed634388d436fe1f4de6af5786cc2de9ba9737527bdf555" dependencies = [ "arrayvec", "borsh", - "bytes 1.7.1", + "bytes 1.10.1", "num-traits", "rand", "rkyv", @@ -6888,14 +6739,14 @@ checksum = "e9c02e25271068de581e03ac3bb44db60165ff1a10d92b9530192ccb898bc706" dependencies = [ "anyhow", "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "http 0.2.12", "reqwest 0.11.27", "rustify_derive", "serde", "serde_json", "serde_urlencoded", - "thiserror", + "thiserror 1.0.63", "tracing", "url", ] @@ -6960,7 +6811,7 @@ dependencies = [ "log", "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.7", + "rustls-webpki 0.102.8", "subtle", "zeroize", ] @@ -6998,9 +6849,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.8.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" +checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" [[package]] name = "rustls-webpki" @@ -7014,9 +6865,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.7" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84678086bd54edf2b415183ed7a94d0efb049f1b646a33e22a36f3794be6ae56" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring 0.17.8", "rustls-pki-types", @@ -7111,7 +6962,7 @@ dependencies = [ "serde_json", "storage_impl", "strum 0.26.3", - "thiserror", + "thiserror 1.0.63", "time", "tokio 1.40.0", "uuid", @@ -7141,7 +6992,7 @@ dependencies = [ "arc-swap", "async-trait", "byteorder", - "bytes 1.7.1", + "bytes 1.10.1", "chrono", "dashmap", "futures 0.3.30", @@ -7157,7 +7008,7 @@ dependencies = [ "smallvec 1.13.2", "snap", "socket2", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "tracing", "uuid", @@ -7170,12 +7021,12 @@ source = "git+https://github.com/juspay/scylla-rust-driver.git?rev=5700aa2847b25 dependencies = [ "async-trait", "byteorder", - "bytes 1.7.1", + "bytes 1.10.1", "lz4_flex", "scylla-macros", "snap", "stable_deref_trait", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "uuid", "yoke", @@ -7189,7 +7040,7 @@ dependencies = [ "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7204,16 +7055,30 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" +[[package]] +name = "sec1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +dependencies = [ + "base16ct 0.1.1", + "der 0.6.1", + "generic-array", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + [[package]] name = "sec1" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "base16ct", - "der", + "base16ct 0.2.0", + "der 0.7.9", "generic-array", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -7233,9 +7098,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" dependencies = [ "core-foundation-sys", "libc", @@ -7314,7 +7179,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7357,7 +7222,7 @@ checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -7368,7 +7233,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7419,7 +7284,7 @@ dependencies = [ "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7461,7 +7326,7 @@ checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7532,6 +7397,16 @@ dependencies = [ "tokio 1.40.0", ] +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest", + "rand_core", +] + [[package]] name = "signature" version = "2.2.0" @@ -7562,7 +7437,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", "num-traits", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -7646,6 +7521,16 @@ dependencies = [ "lock_api 0.4.12", ] +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", +] + [[package]] name = "spki" version = "0.7.3" @@ -7653,24 +7538,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der", -] - -[[package]] -name = "sqlformat" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f895e3734318cc55f1fe66258926c9b910c124d47520339efecbb6c59cec7c1f" -dependencies = [ - "nom", - "unicode_categories", + "der 0.7.9", ] [[package]] name = "sqlx" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93334716a037193fac19df402f8571269c84a00852f6a7066b5d2616dcd64d3e" +checksum = "4410e73b3c0d8442c5f99b425d7a435b5ee0ae4167b3196771dd3f7a01be745f" dependencies = [ "sqlx-core", "sqlx-macros", @@ -7681,39 +7556,33 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d8060b456358185f7d50c55d9b5066ad956956fddec42ee2e8567134a8936e" +checksum = "6a007b6936676aa9ab40207cde35daab0a04b823be8ae004368c0793b96a61e0" dependencies = [ - "atoi", "bigdecimal", - "byteorder", - "bytes 1.7.1", + "bytes 1.10.1", "crc", "crossbeam-queue 0.3.11", "either", "event-listener", - "futures-channel", "futures-core", "futures-intrusive", "futures-io", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "hashlink", - "hex", "indexmap 2.5.0", "log", "memchr", "native-tls", "once_cell", - "paste", "percent-encoding", "serde", "serde_json", "sha2", "smallvec 1.13.2", - "sqlformat", - "thiserror", + "thiserror 2.0.12", "time", "tokio 1.40.0", "tokio-stream", @@ -7723,22 +7592,22 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac0692bcc9de3b073e8d747391827297e075c7710ff6276d9f7a1f3d58c6657" +checksum = "3112e2ad78643fef903618d78cf0aec1cb3134b019730edb039b69eaf531f310" dependencies = [ "proc-macro2", "quote", "sqlx-core", "sqlx-macros-core", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] name = "sqlx-macros-core" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1804e8a7c7865599c9c79be146dc8a9fd8cc86935fa641d3ea58e5f0688abaa5" +checksum = "4e9f90acc5ab146a99bf5061a7eb4976b573f560bc898ef3bf8435448dd5e7ad" dependencies = [ "dotenvy", "either", @@ -7754,7 +7623,7 @@ dependencies = [ "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", - "syn 2.0.77", + "syn 2.0.100", "tempfile", "tokio 1.40.0", "url", @@ -7762,16 +7631,16 @@ dependencies = [ [[package]] name = "sqlx-mysql" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64bb4714269afa44aef2755150a0fc19d756fb580a67db8885608cf02f47d06a" +checksum = "4560278f0e00ce64938540546f59f590d60beee33fffbd3b9cd47851e5fff233" dependencies = [ "atoi", "base64 0.22.1", "bigdecimal", "bitflags 2.6.0", "byteorder", - "bytes 1.7.1", + "bytes 1.10.1", "crc", "digest", "dotenvy", @@ -7798,7 +7667,7 @@ dependencies = [ "smallvec 1.13.2", "sqlx-core", "stringprep", - "thiserror", + "thiserror 2.0.12", "time", "tracing", "whoami", @@ -7806,9 +7675,9 @@ dependencies = [ [[package]] name = "sqlx-postgres" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fa91a732d854c5d7726349bb4bb879bb9478993ceb764247660aee25f67c2f8" +checksum = "c5b98a57f363ed6764d5b3a12bfedf62f07aa16e1856a7ddc2a0bb190a959613" dependencies = [ "atoi", "base64 0.22.1", @@ -7820,7 +7689,6 @@ dependencies = [ "etcetera", "futures-channel", "futures-core", - "futures-io", "futures-util", "hex", "hkdf", @@ -7839,7 +7707,7 @@ dependencies = [ "smallvec 1.13.2", "sqlx-core", "stringprep", - "thiserror", + "thiserror 2.0.12", "time", "tracing", "whoami", @@ -7847,9 +7715,9 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5b2cf34a45953bfd3daaf3db0f7a7878ab9b7a6b91b422d24a7a9e4c857b680" +checksum = "f85ca71d3a5b24e64e1d08dd8fe36c6c95c339a896cc33068148906784620540" dependencies = [ "atoi", "flume", @@ -7902,7 +7770,7 @@ dependencies = [ "async-bb8-diesel", "async-trait", "bb8", - "bytes 1.7.1", + "bytes 1.10.1", "common_enums", "common_utils", "config", @@ -7921,7 +7789,7 @@ dependencies = [ "router_env", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", ] @@ -7985,7 +7853,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -7998,7 +7866,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8020,9 +7888,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.77" +version = "2.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" +checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" dependencies = [ "proc-macro2", "quote", @@ -8038,7 +7906,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8076,7 +7944,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8119,7 +7987,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if 1.0.0", - "fastrand 2.1.1", + "fastrand", "once_cell", "rustix", "windows-sys 0.59.0", @@ -8165,7 +8033,7 @@ dependencies = [ "cfg-if 1.0.0", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8176,7 +8044,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "test-case-core", ] @@ -8222,7 +8090,7 @@ dependencies = [ "serde_repr", "stringmatch", "thirtyfour-macros", - "thiserror", + "thiserror 1.0.63", "tokio 1.40.0", "url", "urlparse", @@ -8236,7 +8104,7 @@ checksum = "b72d056365e368fc57a56d0cec9e41b02fb4a3474a61c8735262b1cfebe67425" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8245,7 +8113,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl 2.0.12", ] [[package]] @@ -8256,7 +8133,18 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.100", ] [[package]] @@ -8377,7 +8265,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", - "bytes 1.7.1", + "bytes 1.10.1", "libc", "mio 1.0.2", "parking_lot 0.12.3", @@ -8449,7 +8337,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8617,7 +8505,7 @@ version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ - "bytes 1.7.1", + "bytes 1.10.1", "futures-core", "futures-sink", "pin-project-lite", @@ -8703,12 +8591,12 @@ dependencies = [ "async-trait", "axum", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.10.1", "h2 0.4.6", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.6.0", "hyper-timeout", "hyper-util", "percent-encoding", @@ -8733,7 +8621,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -8842,7 +8730,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" dependencies = [ "crossbeam-channel", - "thiserror", + "thiserror 1.0.63", "time", "tracing-subscriber", ] @@ -8855,7 +8743,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -9088,12 +8976,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" -[[package]] -name = "unicode_categories" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" - [[package]] name = "unidecode" version = "0.3.0" @@ -9114,12 +8996,12 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.2" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna 1.0.3", "percent-encoding", "serde", ] @@ -9175,7 +9057,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -9215,7 +9097,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bb996bb053adadc767f8b0bda2a80bc2b67d24fe89f2b959ae919e200d79a19" dependencies = [ "async-trait", - "bytes 1.7.1", + "bytes 1.10.1", "derive_builder", "http 0.2.12", "reqwest 0.11.27", @@ -9223,7 +9105,7 @@ dependencies = [ "rustify_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", "url", ] @@ -9329,7 +9211,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "wasm-bindgen-shared", ] @@ -9363,7 +9245,7 @@ checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -9401,7 +9283,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9973cb72c8587d5ad5efdb91e663d36177dc37725e6c90ca86c626b0cc45c93f" dependencies = [ "base64 0.13.1", - "bytes 1.7.1", + "bytes 1.10.1", "cookie 0.16.2", "http 0.2.12", "log", @@ -9729,7 +9611,7 @@ dependencies = [ "futures 0.3.30", "http 1.1.0", "http-body-util", - "hyper 1.4.1", + "hyper 1.6.0", "hyper-util", "log", "once_cell", @@ -9784,7 +9666,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -9823,7 +9705,7 @@ checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "synstructure 0.13.1", ] @@ -9845,7 +9727,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] @@ -9865,7 +9747,7 @@ checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", "synstructure 0.13.1", ] @@ -9894,7 +9776,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.77", + "syn 2.0.100", ] [[package]] diff --git a/crates/analytics/Cargo.toml b/crates/analytics/Cargo.toml index 34732c55e4..ab63e47d8f 100644 --- a/crates/analytics/Cargo.toml +++ b/crates/analytics/Cargo.toml @@ -26,9 +26,9 @@ currency_conversion = { version = "0.1.0", path = "../currency_conversion" } #Third Party dependencies actix-web = "4.5.1" async-trait = "0.1.79" -aws-config = { version = "1.1.9", features = ["behavior-version-latest"] } -aws-sdk-lambda = { version = "1.18.0" } -aws-smithy-types = { version = "1.1.8" } +aws-config = { version = "1.5.10", features = ["behavior-version-latest"] } +aws-sdk-lambda = { version = "1.60.0" } +aws-smithy-types = { version = "1.3.0" } bigdecimal = { version = "0.4.5", features = ["serde"] } error-stack = "0.4.1" futures = "0.3.30" @@ -38,7 +38,7 @@ reqwest = { version = "0.11.27", features = ["serde_json"] } rust_decimal = "1.35" serde = { version = "1.0.197", features = ["derive", "rc"] } serde_json = "1.0.115" -sqlx = { version = "0.8.2", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] } +sqlx = { version = "0.8.3", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] } strum = { version = "0.26.2", features = ["derive"] } thiserror = "1.0.58" time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] } diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.toml index e617dbe835..ebab30eec7 100644 --- a/crates/external_services/Cargo.toml +++ b/crates/external_services/Cargo.toml @@ -17,12 +17,12 @@ dynamic_routing = ["dep:prost", "dep:tonic", "dep:tonic-reflection", "dep:tonic- [dependencies] async-trait = "0.1.79" -aws-config = { version = "0.55.3", optional = true } -aws-sdk-kms = { version = "0.28.0", optional = true } -aws-sdk-s3 = { version = "0.28.0", optional = true } -aws-sdk-sesv2 = "0.28.0" -aws-sdk-sts = "0.28.0" -aws-smithy-client = "0.55.3" +aws-config = { version = "1.5.10", optional = true, features = ["behavior-version-latest"] } +aws-sdk-kms = { version = "1.51.0", optional = true } +aws-sdk-sesv2 = "1.57.0" +aws-sdk-sts = "1.51.0" +aws-sdk-s3 = { version = "1.65.0", optional = true } +aws-smithy-runtime = "1.8.0" base64 = "0.22.0" dyn-clone = "1.0.17" error-stack = "0.4.1" diff --git a/crates/external_services/src/email.rs b/crates/external_services/src/email.rs index a98b03c0b5..82a0da7cb9 100644 --- a/crates/external_services/src/email.rs +++ b/crates/external_services/src/email.rs @@ -193,4 +193,8 @@ pub enum EmailError { /// The expected feature is not implemented #[error("Feature not implemented")] NotImplemented, + + /// An error occurred when building email content. + #[error("Error building email content")] + ContentBuildFailure, } diff --git a/crates/external_services/src/email/ses.rs b/crates/external_services/src/email/ses.rs index f9dcc8f26a..f8e941b57b 100644 --- a/crates/external_services/src/email/ses.rs +++ b/crates/external_services/src/email/ses.rs @@ -7,6 +7,7 @@ use aws_sdk_sesv2::{ Client, }; use aws_sdk_sts::config::Credentials; +use aws_smithy_runtime::client::http::hyper_014::HyperClientBuilder; use common_utils::{errors::CustomResult, pii}; use error_stack::{report, ResultExt}; use hyper::Uri; @@ -53,7 +54,7 @@ impl SESConfig { pub enum AwsSesError { /// An error occurred in the SDK while sending email. #[error("Failed to Send Email {0:?}")] - SendingFailure(aws_smithy_client::SdkError), + SendingFailure(aws_sdk_sesv2::error::SdkError), /// Configuration variable is missing to construct the email client #[error("Missing configuration variable {0}")] @@ -131,29 +132,13 @@ impl AwsSes { )?; let credentials = Credentials::new( - creds - .access_key_id() - .ok_or( - report!(AwsSesError::TemporaryCredentialsMissing(format!( - "{role:?}" - ))) - .attach_printable("Access Key ID not found"), - )? - .to_owned(), - creds - .secret_access_key() - .ok_or( - report!(AwsSesError::TemporaryCredentialsMissing(format!( - "{role:?}" - ))) - .attach_printable("Secret Access Key not found"), - )? - .to_owned(), - creds.session_token().map(|s| s.to_owned()), - creds.expiration().and_then(|dt| { - SystemTime::UNIX_EPOCH - .checked_add(Duration::from_nanos(u64::try_from(dt.as_nanos()).ok()?)) - }), + creds.access_key_id(), + creds.secret_access_key(), + Some(creds.session_token().to_owned()), + u64::try_from(creds.expiration().as_nanos()) + .ok() + .map(Duration::from_nanos) + .and_then(|val| SystemTime::UNIX_EPOCH.checked_add(val)), "custom_provider", ); @@ -176,15 +161,11 @@ impl AwsSes { ) -> CustomResult { let region_provider = Region::new(region); let mut config = aws_config::from_env().region(region_provider); + if let Some(proxy_url) = proxy_url { let proxy_connector = Self::get_proxy_connector(proxy_url)?; - let provider_config = aws_config::provider_config::ProviderConfig::default() - .with_tcp_connector(proxy_connector.clone()); - let http_connector = - aws_smithy_client::hyper_ext::Adapter::builder().build(proxy_connector); - config = config - .configure(provider_config) - .http_connector(http_connector); + let http_client = HyperClientBuilder::new().build(proxy_connector); + config = config.http_client(http_client); }; Ok(config) } @@ -218,7 +199,8 @@ impl EmailClient for AwsSes { Content::builder() .data(intermediate_string.into_inner()) .charset("UTF-8") - .build(), + .build() + .change_context(EmailError::ContentBuildFailure)?, ) .build(); @@ -250,7 +232,12 @@ impl EmailClient for AwsSes { EmailContent::builder() .simple( Message::builder() - .subject(Content::builder().data(subject).build()) + .subject( + Content::builder() + .data(subject) + .build() + .change_context(EmailError::ContentBuildFailure)?, + ) .body(body) .build(), ) diff --git a/crates/external_services/src/file_storage/aws_s3.rs b/crates/external_services/src/file_storage/aws_s3.rs index 86d1c0f0ef..28d307da33 100644 --- a/crates/external_services/src/file_storage/aws_s3.rs +++ b/crates/external_services/src/file_storage/aws_s3.rs @@ -142,15 +142,15 @@ impl FileStorageInterface for AwsFileStorageClient { enum AwsS3StorageError { /// Error indicating that file upload to S3 failed. #[error("File upload to S3 failed: {0:?}")] - UploadFailure(aws_smithy_client::SdkError), + UploadFailure(aws_sdk_s3::error::SdkError), /// Error indicating that file retrieval from S3 failed. #[error("File retrieve from S3 failed: {0:?}")] - RetrieveFailure(aws_smithy_client::SdkError), + RetrieveFailure(aws_sdk_s3::error::SdkError), /// Error indicating that file deletion from S3 failed. #[error("File delete from S3 failed: {0:?}")] - DeleteFailure(aws_smithy_client::SdkError), + DeleteFailure(aws_sdk_s3::error::SdkError), /// Unknown error occurred. #[error("Unknown error occurred: {0:?}")]