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>
Loading
Please register or sign in to comment