-
- Downloads
Don't allow `test-util` feature in compile time dependencies (#2843)
During the orchestrator implementation, a bug was introduced that always enabled the `test-util` feature on `aws-smithy-runtime` in the generated crates. This led to several pieces of non-test code relying on test-only code, specifically around `SystemTime` implementing `TimeSource`. This PR fixes that issue, and also fixes another issue where the `RuntimeComponentsBuilder` was being initialized without a name for the service config. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- aws/rust-runtime/aws-config/src/provider_config.rs 2 additions, 1 deletionaws/rust-runtime/aws-config/src/provider_config.rs
- aws/rust-runtime/aws-config/src/sts/util.rs 1 addition, 2 deletionsaws/rust-runtime/aws-config/src/sts/util.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsCustomizableOperationDecorator.kt 57 additions, 12 deletions...mazon/smithy/rustsdk/AwsCustomizableOperationDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsPresigningDecorator.kt 3 additions, 1 deletion.../software/amazon/smithy/rustsdk/AwsPresigningDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/IntegrationTestDependencies.kt 3 additions, 3 deletions...ware/amazon/smithy/rustsdk/IntegrationTestDependencies.kt
- aws/sdk/integration-tests/s3/Cargo.toml 1 addition, 1 deletionaws/sdk/integration-tests/s3/Cargo.toml
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/config/ServiceConfigGenerator.kt 21 additions, 3 deletions...client/smithy/generators/config/ServiceConfigGenerator.kt
- codegen-client/src/test/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/HttpAuthDecoratorTest.kt 1 addition, 1 deletion...gen/client/smithy/customizations/HttpAuthDecoratorTest.kt
- codegen-client/src/test/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/MetadataCustomizationTest.kt 1 addition, 1 deletion...client/smithy/customizations/MetadataCustomizationTest.kt
- codegen-client/src/test/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/ConfigOverrideRuntimePluginGeneratorTest.kt 2 additions, 2 deletions...hy/generators/ConfigOverrideRuntimePluginGeneratorTest.kt
- codegen-client/src/test/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client/FluentClientGeneratorTest.kt 2 additions, 0 deletions...ent/smithy/generators/client/FluentClientGeneratorTest.kt
- codegen-core/build.gradle.kts 1 addition, 2 deletionscodegen-core/build.gradle.kts
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependency.kt 15 additions, 6 deletions...azon/smithy/rust/codegen/core/rustlang/CargoDependency.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/RustWriter.kt 9 additions, 0 deletions...re/amazon/smithy/rust/codegen/core/rustlang/RustWriter.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/CodegenDelegator.kt 5 additions, 2 deletions...mazon/smithy/rust/codegen/core/smithy/CodegenDelegator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/CargoTomlGenerator.kt 34 additions, 10 deletions...rust/codegen/core/smithy/generators/CargoTomlGenerator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil/Rust.kt 23 additions, 14 deletions...software/amazon/smithy/rust/codegen/core/testutil/Rust.kt
- codegen-core/src/test/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependencyTest.kt 48 additions, 0 deletions.../smithy/rust/codegen/core/rustlang/CargoDependencyTest.kt
- codegen-core/src/test/kotlin/software/amazon/smithy/rust/codegen/core/smithy/CodegenDelegatorTest.kt 22 additions, 1 deletion...n/smithy/rust/codegen/core/smithy/CodegenDelegatorTest.kt
- rust-runtime/aws-smithy-runtime-api/src/client/runtime_components.rs 3 additions, 3 deletions...e/aws-smithy-runtime-api/src/client/runtime_components.rs
Loading
Please register or sign in to comment