diff --git a/Cargo.lock b/Cargo.lock index 4c4a6abc..dbcf981a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -150,21 +150,21 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6b3804dca60326e07205179847f17a4fce45af3a1106939177ad41ac08a6de" dependencies = [ - "aws-credential-types", + "aws-credential-types 0.56.1", "aws-http", "aws-sdk-sso", "aws-sdk-sts", - "aws-smithy-async", + "aws-smithy-async 0.56.1", "aws-smithy-client", - "aws-smithy-http", + "aws-smithy-http 0.56.1", "aws-smithy-http-tower", - "aws-smithy-json", - "aws-smithy-types", - "aws-types", + "aws-smithy-json 0.56.1", + "aws-smithy-types 0.56.1", + "aws-types 0.56.1", "bytes", "fastrand", "hex", - "http", + "http 0.2.11", "hyper", "ring 0.16.20", "time", @@ -180,26 +180,38 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70a66ac8ef5fa9cf01c2d999f39d16812e90ec1467bd382cbbb74ba23ea86201" dependencies = [ - "aws-smithy-async", - "aws-smithy-types", + "aws-smithy-async 0.56.1", + "aws-smithy-types 0.56.1", "fastrand", "tokio", "tracing", "zeroize", ] +[[package]] +name = "aws-credential-types" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5635d8707f265c773282a22abe1ecd4fbe96a8eb2f0f14c0796f8016f11a41a" +dependencies = [ + "aws-smithy-async 1.1.7", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "zeroize", +] + [[package]] name = "aws-http" version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e626370f9ba806ae4c439e49675fd871f5767b093075cdf4fef16cac42ba900" dependencies = [ - "aws-credential-types", - "aws-smithy-http", - "aws-smithy-types", - "aws-types", + "aws-credential-types 0.56.1", + "aws-smithy-http 0.56.1", + "aws-smithy-types 0.56.1", + "aws-types 0.56.1", "bytes", - "http", + "http 0.2.11", "http-body", "lazy_static", "percent-encoding", @@ -213,41 +225,63 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07ac5cf0ff19c1bca0cea7932e11b239d1025a45696a4f44f72ea86e2b8bdd07" dependencies = [ - "aws-credential-types", + "aws-credential-types 0.56.1", "aws-http", - "aws-sigv4", - "aws-smithy-async", - "aws-smithy-http", - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-types", + "aws-sigv4 0.56.1", + "aws-smithy-async 0.56.1", + "aws-smithy-http 0.56.1", + "aws-smithy-runtime-api 0.56.1", + "aws-smithy-types 0.56.1", + "aws-types 0.56.1", "fastrand", - "http", + "http 0.2.11", "percent-encoding", "tracing", "uuid", ] [[package]] -name = "aws-sdk-sagemakerruntime" -version = "0.34.0" +name = "aws-runtime" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9101f8949fcf7a7d7bea2c18dc9298a3db5980211ae8e44a386f185d543595f9" +checksum = "6f82b9ae2adfd9d6582440d0eeb394c07f74d21b4c0cc72bdb73735c9e1a9c0e" dependencies = [ - "aws-credential-types", - "aws-http", - "aws-runtime", - "aws-smithy-async", - "aws-smithy-client", - "aws-smithy-http", - "aws-smithy-json", - "aws-smithy-runtime", - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-types", + "aws-credential-types 1.1.6", + "aws-sigv4 1.1.6", + "aws-smithy-async 1.1.7", + "aws-smithy-http 0.60.6", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "aws-types 1.1.6", "bytes", - "http", - "regex", + "fastrand", + "http 0.2.11", + "http-body", + "percent-encoding", + "pin-project-lite", + "tracing", + "uuid", +] + +[[package]] +name = "aws-sdk-sagemakerruntime" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17c7c4f6bb6d753954324a39f866f3ed06b02306ee5ff5bbe7246e9e7d477ea7" +dependencies = [ + "aws-credential-types 1.1.6", + "aws-runtime 1.1.6", + "aws-smithy-async 1.1.7", + "aws-smithy-http 0.60.6", + "aws-smithy-json 0.60.6", + "aws-smithy-runtime 1.1.7", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "aws-types 1.1.6", + "bytes", + "http 0.2.11", + "once_cell", + "regex-lite", "tracing", ] @@ -257,19 +291,19 @@ version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "903f888ff190e64f6f5c83fb0f8d54f9c20481f1dc26359bb8896f5d99908949" dependencies = [ - "aws-credential-types", + "aws-credential-types 0.56.1", "aws-http", - "aws-runtime", - "aws-smithy-async", + "aws-runtime 0.56.1", + "aws-smithy-async 0.56.1", "aws-smithy-client", - "aws-smithy-http", - "aws-smithy-json", - "aws-smithy-runtime", - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-types", + "aws-smithy-http 0.56.1", + "aws-smithy-json 0.56.1", + "aws-smithy-runtime 0.56.1", + "aws-smithy-runtime-api 0.56.1", + "aws-smithy-types 0.56.1", + "aws-types 0.56.1", "bytes", - "http", + "http 0.2.11", "regex", "tokio-stream", "tracing", @@ -281,20 +315,20 @@ version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a47ad6bf01afc00423d781d464220bf69fb6a674ad6629cbbcb06d88cdc2be82" dependencies = [ - "aws-credential-types", + "aws-credential-types 0.56.1", "aws-http", - "aws-runtime", - "aws-smithy-async", + "aws-runtime 0.56.1", + "aws-smithy-async 0.56.1", "aws-smithy-client", - "aws-smithy-http", - "aws-smithy-json", + "aws-smithy-http 0.56.1", + "aws-smithy-json 0.56.1", "aws-smithy-query", - "aws-smithy-runtime", - "aws-smithy-runtime-api", - "aws-smithy-types", + "aws-smithy-runtime 0.56.1", + "aws-smithy-runtime-api 0.56.1", + "aws-smithy-types 0.56.1", "aws-smithy-xml", - "aws-types", - "http", + "aws-types 0.56.1", + "http 0.2.11", "regex", "tracing", ] @@ -305,11 +339,11 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7b28f4910bb956b7ab320b62e98096402354eca976c587d1eeccd523d9bac03" dependencies = [ - "aws-smithy-http", + "aws-smithy-http 0.56.1", "form_urlencoded", "hex", "hmac", - "http", + "http 0.2.11", "once_cell", "percent-encoding", "regex", @@ -318,6 +352,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "aws-sigv4" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "404c64a104188ac70dd1684718765cb5559795458e446480e41984e68e57d888" +dependencies = [ + "aws-credential-types 1.1.6", + "aws-smithy-http 0.60.6", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "bytes", + "form_urlencoded", + "hex", + "hmac", + "http 0.2.11", + "http 1.0.0", + "once_cell", + "percent-encoding", + "sha2", + "time", + "tracing", +] + [[package]] name = "aws-smithy-async" version = "0.56.1" @@ -330,19 +387,30 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "aws-smithy-async" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcf7f09a27286d84315dfb9346208abb3b0973a692454ae6d0bc8d803fcce3b4" +dependencies = [ + "futures-util", + "pin-project-lite", + "tokio", +] + [[package]] name = "aws-smithy-client" version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c27b2756264c82f830a91cb4d2d485b2d19ad5bea476d9a966e03d27f27ba59a" dependencies = [ - "aws-smithy-async", - "aws-smithy-http", + "aws-smithy-async 0.56.1", + "aws-smithy-http 0.56.1", "aws-smithy-http-tower", - "aws-smithy-types", + "aws-smithy-types 0.56.1", "bytes", "fastrand", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -360,19 +428,37 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54cdcf365d8eee60686885f750a34c190e513677db58bbc466c44c588abf4199" dependencies = [ - "aws-smithy-types", + "aws-smithy-types 0.56.1", "bytes", "bytes-utils", "futures-core", - "http", + "http 0.2.11", "http-body", "hyper", "once_cell", "percent-encoding", "pin-project-lite", "pin-utils", - "tokio", - "tokio-util", + "tracing", +] + +[[package]] +name = "aws-smithy-http" +version = "0.60.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6ca214a6a26f1b7ebd63aa8d4f5e2194095643023f9608edf99a58247b9d80d" +dependencies = [ + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "bytes", + "bytes-utils", + "futures-core", + "http 0.2.11", + "http-body", + "once_cell", + "percent-encoding", + "pin-project-lite", + "pin-utils", "tracing", ] @@ -382,10 +468,10 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "822de399d0ce62829a69dfa8c5cd08efdbe61a7426b953e2268f8b8b52a607bd" dependencies = [ - "aws-smithy-http", - "aws-smithy-types", + "aws-smithy-http 0.56.1", + "aws-smithy-types 0.56.1", "bytes", - "http", + "http 0.2.11", "http-body", "pin-project-lite", "tower", @@ -398,7 +484,16 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb1e7ab8fa7ad10c193af7ae56d2420989e9f4758bf03601a342573333ea34f" dependencies = [ - "aws-smithy-types", + "aws-smithy-types 0.56.1", +] + +[[package]] +name = "aws-smithy-json" +version = "0.60.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1af80ecf3057fb25fe38d1687e94c4601a7817c6a1e87c1b0635f7ecb644ace5" +dependencies = [ + "aws-smithy-types 1.1.7", ] [[package]] @@ -407,7 +502,7 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28556a3902091c1f768a34f6c998028921bdab8d47d92586f363f14a4a32d047" dependencies = [ - "aws-smithy-types", + "aws-smithy-types 0.56.1", "urlencoding", ] @@ -417,14 +512,14 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "745e096b3553e7e0f40622aa04971ce52765af82bebdeeac53aa6fc82fe801e6" dependencies = [ - "aws-smithy-async", + "aws-smithy-async 0.56.1", "aws-smithy-client", - "aws-smithy-http", - "aws-smithy-runtime-api", - "aws-smithy-types", + "aws-smithy-http 0.56.1", + "aws-smithy-runtime-api 0.56.1", + "aws-smithy-types 0.56.1", "bytes", "fastrand", - "http", + "http 0.2.11", "http-body", "once_cell", "pin-project-lite", @@ -433,17 +528,58 @@ dependencies = [ "tracing", ] +[[package]] +name = "aws-smithy-runtime" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbb5fca54a532a36ff927fbd7407a7c8eb9c3b4faf72792ba2965ea2cad8ed55" +dependencies = [ + "aws-smithy-async 1.1.7", + "aws-smithy-http 0.60.6", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "bytes", + "fastrand", + "h2", + "http 0.2.11", + "http-body", + "hyper", + "hyper-rustls", + "once_cell", + "pin-project-lite", + "pin-utils", + "rustls 0.21.10", + "tokio", + "tracing", +] + [[package]] name = "aws-smithy-runtime-api" version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93d0ae0c9cfd57944e9711ea610b48a963fb174a53aabacc08c5794a594b1d02" dependencies = [ - "aws-smithy-async", - "aws-smithy-http", - "aws-smithy-types", + "aws-smithy-async 0.56.1", + "aws-smithy-http 0.56.1", + "aws-smithy-types 0.56.1", "bytes", - "http", + "http 0.2.11", + "tokio", + "tracing", +] + +[[package]] +name = "aws-smithy-runtime-api" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22389cb6f7cac64f266fb9f137745a9349ced7b47e0d2ba503e9e40ede4f7060" +dependencies = [ + "aws-smithy-async 1.1.7", + "aws-smithy-types 1.1.7", + "bytes", + "http 0.2.11", + "http 1.0.0", + "pin-project-lite", "tokio", "tracing", ] @@ -462,6 +598,29 @@ dependencies = [ "time", ] +[[package]] +name = "aws-smithy-types" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f081da5481210523d44ffd83d9f0740320050054006c719eae0232d411f024d3" +dependencies = [ + "base64-simd", + "bytes", + "bytes-utils", + "futures-core", + "http 0.2.11", + "http-body", + "itoa", + "num-integer", + "pin-project-lite", + "pin-utils", + "ryu", + "serde", + "time", + "tokio", + "tokio-util", +] + [[package]] name = "aws-smithy-xml" version = "0.56.1" @@ -477,12 +636,27 @@ version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85aa0451bf8af1bf22a4f028d5d28054507a14be43cb8ac0597a8471fba9edfe" dependencies = [ - "aws-credential-types", - "aws-smithy-async", + "aws-credential-types 0.56.1", + "aws-smithy-async 0.56.1", "aws-smithy-client", - "aws-smithy-http", - "aws-smithy-types", - "http", + "aws-smithy-http 0.56.1", + "aws-smithy-types 0.56.1", + "http 0.2.11", + "rustc_version", + "tracing", +] + +[[package]] +name = "aws-types" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fbb5d48aae496f628e7aa2e41991dd4074f606d9e3ade1ce1059f293d40f9a2" +dependencies = [ + "aws-credential-types 1.1.6", + "aws-smithy-async 1.1.7", + "aws-smithy-runtime-api 1.1.7", + "aws-smithy-types 1.1.7", + "http 0.2.11", "rustc_version", "tracing", ] @@ -498,7 +672,7 @@ dependencies = [ "bitflags 1.3.2", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "hyper", "itoa", @@ -524,7 +698,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "rustversion", @@ -1340,7 +1514,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap 2.1.0", "slab", "tokio", @@ -1454,6 +1628,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -1461,7 +1646,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -1503,7 +1688,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -1523,7 +1708,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", + "http 0.2.11", "hyper", "log", "rustls 0.21.10", @@ -2778,6 +2963,12 @@ dependencies = [ "regex-syntax", ] +[[package]] +name = "regex-lite" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b661b2f27137bdbc16f00eda72866a92bb28af1753ffbd56744fb6e2e9cd8e" + [[package]] name = "regex-syntax" version = "0.8.2" @@ -2796,7 +2987,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -3603,7 +3794,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-timeout", @@ -3638,7 +3829,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-timeout", diff --git a/crates/llm-chain-sagemaker-endpoint/Cargo.toml b/crates/llm-chain-sagemaker-endpoint/Cargo.toml index 025eaea9..e69fcd49 100644 --- a/crates/llm-chain-sagemaker-endpoint/Cargo.toml +++ b/crates/llm-chain-sagemaker-endpoint/Cargo.toml @@ -14,7 +14,7 @@ repository = "https://github.com/sobelio/llm-chain/" [dependencies] async-trait = "0.1.68" aws-config = "0.56.0" -aws-sdk-sagemakerruntime = "0.34.0" +aws-sdk-sagemakerruntime = "1.15.0" futures = "0.3.28" llm-chain = { path = "../llm-chain", version = "0.13.0", default-features = false } serde = "1.0.183"