Skip to content

Commit

Permalink
Expose all used @smithy packages (awslabs#253)
Browse files Browse the repository at this point in the history
* Expose smithy packages

* add s3-request-presigner
  • Loading branch information
richarddavison authored Mar 7, 2024
1 parent 330e708 commit 7afa5d8
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 10 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ uncompressed = []
macro = ["rquickjs/macro"]

[dependencies]
chrono = { version = "0.4.34", default-features = false, features = ["std"] }
chrono = { version = "0.4.35", default-features = false, features = ["std"] }
quick-xml = "0.31.0"
crc32c = "0.6.5"
crc32fast = "1.4.0"
Expand All @@ -32,7 +32,7 @@ uuid = { version = "1.7.0", default-features = false, features = [
"v5",
"fast-rng",
] }
once_cell = "1.18.0"
once_cell = "1.19.0"
tokio-context = "0.1.3"
tracing-core = "0.1.32"
webpki = "0.22.4"
Expand Down Expand Up @@ -61,7 +61,10 @@ hyper-rustls = { version = "0.26.0", default-features = false, features = [
] }
hyper-util = "0.1.3"
http-body-util = "0.1.0"
rustls = { version = "0.22.2", features = ["tls12", "ring"] }
rustls = { version = "0.22.2", default-features = false, features = [
"tls12",
"ring",
] }
webpki-roots = "0.26.1"
tokio-rustls = { version = "0.25.0", features = [
"tls12",
Expand All @@ -76,7 +79,7 @@ rquickjs = { version = "0.5.1", features = [
"full-async",
"rust-alloc",
], default-features = false }
relative-path = "1.9.0"
relative-path = "1.9.2"
tokio = { version = "1", features = ["full"] }
phf_codegen = "0.11.2"
jwalk = "0.8.1"
Expand Down
37 changes: 36 additions & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,43 @@ const SDK_DATA = {

const ADDITIONAL_PACKAGES = [
"@aws-sdk/util-dynamodb",
"@smithy/signature-v4",
"@aws-sdk/credential-providers",
"@aws-sdk/s3-request-presigner",
"@smithy/config-resolver",
"@smithy/core",
"@smithy/eventstream-codec",
"@smithy/eventstream-serde-browser",
"@smithy/eventstream-serde-config-resolver",
"@smithy/eventstream-serde-universal",
"@smithy/fetch-http-handler",
"@smithy/invalid-dependency",
"@smithy/is-array-buffer",
"@smithy/middleware-content-length",
"@smithy/middleware-endpoint",
"@smithy/middleware-retry",
"@smithy/middleware-serde",
"@smithy/middleware-stack",
"@smithy/property-provider",
"@smithy/protocol-http",
"@smithy/querystring-builder",
"@smithy/querystring-parser",
"@smithy/service-error-classification",
"@smithy/signature-v4",
"@smithy/smithy-client",
"@smithy/types",
"@smithy/url-parser",
"@smithy/util-base64",
"@smithy/util-body-length-browser",
"@smithy/util-config-provider",
"@smithy/util-defaults-mode-browser",
"@smithy/util-endpoints",
"@smithy/util-hex-encoding",
"@smithy/util-middleware",
"@smithy/util-retry",
"@smithy/util-stream",
"@smithy/util-uri-escape",
"@smithy/util-utf8",
"@smithy/util-waiter",
];

const SERVICE_ENDPOINT_BY_PACKAGE = {};
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ fn generate_compression_dictionary(
let mut cmd = Command::new("zstd");
cmd.args([
"--train",
"--train-fastcover=steps=40",
"--maxdict=20K",
"--train-fastcover=steps=60",
"--maxdict=40K",
"-o",
dictionary_path,
]);
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@aws-sdk/client-xray": "3.525.0",
"@aws-sdk/credential-providers": "3.525.0",
"@aws-sdk/lib-dynamodb": "3.525.0",
"@aws-sdk/s3-request-presigner": "3.525.0",
"@types/chai": "4.3.12",
"@types/jest": "29.5.12",
"@types/readable-stream": "4.0.10",
Expand Down
24 changes: 24 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1274,6 +1274,20 @@
"@smithy/util-middleware" "^2.1.3"
tslib "^2.5.0"

"@aws-sdk/[email protected]":
version "3.525.0"
resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.525.0.tgz#8c56b44431bfea57946e6e6c479d7dd371b357aa"
integrity sha512-EllqWqzzzLs8QgUENgOF8qlSuZI6QiPypazSVbCuaAR5B6+s6E8XuBPlX99bV28pGbmtG06d/qqwu2pzXORbBg==
dependencies:
"@aws-sdk/signature-v4-multi-region" "3.525.0"
"@aws-sdk/types" "3.523.0"
"@aws-sdk/util-format-url" "3.523.0"
"@smithy/middleware-endpoint" "^2.4.4"
"@smithy/protocol-http" "^3.2.1"
"@smithy/smithy-client" "^2.4.2"
"@smithy/types" "^2.10.1"
tslib "^2.5.0"

"@aws-sdk/[email protected]":
version "3.525.0"
resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.525.0.tgz#b9b7e1079b0a8a1df4bb282216aa20b56d139ba5"
Expand Down Expand Up @@ -1338,6 +1352,16 @@
"@smithy/util-endpoints" "^1.1.4"
tslib "^2.5.0"

"@aws-sdk/[email protected]":
version "3.523.0"
resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.523.0.tgz#4c769d46f34dd351051d7f10c2cdd4499244219d"
integrity sha512-OWi+8bsEfxG4DvHkWauxyWVZMbYrezC49DbGDEu1lJgk9eqQALlyGkZHt9O8KKfyT/mdqQbR8qbpkxqYcGuHVA==
dependencies:
"@aws-sdk/types" "3.523.0"
"@smithy/querystring-builder" "^2.1.3"
"@smithy/types" "^2.10.1"
tslib "^2.5.0"

"@aws-sdk/util-locate-window@^3.0.0":
version "3.495.0"
resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.495.0.tgz#9034fd8db77991b28ed20e067acdd53e8b8f824b"
Expand Down

0 comments on commit 7afa5d8

Please sign in to comment.