-
- Downloads
feat: support compiling to webassembly (#2254)
* feat(aws-config): define default feature for sso * chore(aws): disable unused features * chore(rust-runtime): disable unused features * chore: add missing tokio fs feature * chore: disable spawn blocking on wasm * chore: fix sso feature * chore: allow unused variables when not sso * chore: remove unnecessary dependency filter for wasm * chore: add integration test for wasm * chore: ensure test-util feature is applied to dev dependencies * chore: disable retry config Co-authored-by:John DiSanti <johndisanti@gmail.com> * chore: simplify features as suggested * chore: no default features for aws types * chore: rename credentials-sso feature * Revert "chore: simplify features as suggested" This reverts commit d8fcf4912f4f169bc1a4edc37799508272c132a2. * chore: set right name in default features * chore: create smithy client test util in runtime types * Update aws/rust-runtime/aws-types/Cargo.toml Co-authored-by:
John DiSanti <johndisanti@gmail.com> * Update aws/rust-runtime/aws-inlineable/Cargo.toml Co-authored-by:
John DiSanti <johndisanti@gmail.com> * Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs Co-authored-by:
John DiSanti <johndisanti@gmail.com> * Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs Co-authored-by:
John DiSanti <johndisanti@gmail.com> * Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs Co-authored-by:
John DiSanti <johndisanti@gmail.com> * Update aws/rust-runtime/aws-config/src/lib.rs Co-authored-by:
John DiSanti <johndisanti@gmail.com> * chore: use hardcoded credentials feature * chore: make wasm example for s3 instead * chore: fix formatting * chore: fix kotlin formatting * chore: fix kotlin unit tests * chore: use timeout config from smithy types * chore: move tests into main file * chore: add vscode setttings to target wasi by default * chore: fix test-util feature for smithy client * chore: separate adapter into own module * chore: fix test with no default features * Fix typo * Update changelog * Check compilation of `aws-config` against `wasm32` in CI * Fix Dockerfile issue and use correct cargo-wasi command * Small Dockerfile fix * Add missing `tar` binary to Docker image --------- Co-authored-by:
Eduardo Rodrigues <eduardomourar@users.noreply.github.com> Co-authored-by:
John DiSanti <johndisanti@gmail.com> Co-authored-by:
John DiSanti <jdisanti@amazon.com> Co-authored-by:
Russell Cohen <rcoh@amazon.com>
Showing
- CHANGELOG.next.toml 12 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-config/Cargo.toml 8 additions, 7 deletionsaws/rust-runtime/aws-config/Cargo.toml
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 2 additions, 0 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/default_provider/timeout_config.rs 1 addition, 1 deletion...runtime/aws-config/src/default_provider/timeout_config.rs
- aws/rust-runtime/aws-config/src/ecs.rs 2 additions, 2 deletionsaws/rust-runtime/aws-config/src/ecs.rs
- aws/rust-runtime/aws-config/src/imds/client.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/imds/client.rs
- aws/rust-runtime/aws-config/src/imds/client/token.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/imds/client/token.rs
- aws/rust-runtime/aws-config/src/imds/credentials.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/imds/credentials.rs
- aws/rust-runtime/aws-config/src/lib.rs 1 addition, 0 deletionsaws/rust-runtime/aws-config/src/lib.rs
- aws/rust-runtime/aws-config/src/profile/credentials/exec.rs 18 additions, 7 deletionsaws/rust-runtime/aws-config/src/profile/credentials/exec.rs
- aws/rust-runtime/aws-types/Cargo.toml 1 addition, 1 deletionaws/rust-runtime/aws-types/Cargo.toml
- aws/sdk-codegen/src/test/kotlin/software/amazon/smithy/rustsdk/EndpointsCredentialsTest.kt 4 additions, 4 deletions...oftware/amazon/smithy/rustsdk/EndpointsCredentialsTest.kt
- aws/sdk/integration-tests/Cargo.toml 1 addition, 0 deletionsaws/sdk/integration-tests/Cargo.toml
- aws/sdk/integration-tests/webassembly/.cargo/config.toml 5 additions, 0 deletionsaws/sdk/integration-tests/webassembly/.cargo/config.toml
- aws/sdk/integration-tests/webassembly/.vscode/settings.json 3 additions, 0 deletionsaws/sdk/integration-tests/webassembly/.vscode/settings.json
- aws/sdk/integration-tests/webassembly/Cargo.toml 30 additions, 0 deletionsaws/sdk/integration-tests/webassembly/Cargo.toml
- aws/sdk/integration-tests/webassembly/src/adapter/http_client.rs 29 additions, 0 deletions.../integration-tests/webassembly/src/adapter/http_client.rs
- aws/sdk/integration-tests/webassembly/src/adapter/mod.rs 44 additions, 0 deletionsaws/sdk/integration-tests/webassembly/src/adapter/mod.rs
- aws/sdk/integration-tests/webassembly/src/default_config.rs 33 additions, 0 deletionsaws/sdk/integration-tests/webassembly/src/default_config.rs
- aws/sdk/integration-tests/webassembly/src/lib.rs 13 additions, 0 deletionsaws/sdk/integration-tests/webassembly/src/lib.rs
Loading
Please register or sign in to comment