-
- Downloads
Generate deserializers dynamically for nested types (#95)
This code replaces the hand-written deserializers that were used to serialize types like Instant & Blob with autogenerated code. A follow-on diff will do the same thing for serializers. Once sufficiently developed (and if desired) this would allow us to completely remove our use of Serde-derived serializers with serializers & deserializers generated at codegen time.
Showing
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/lang/CargoDependency.kt 1 addition, 0 deletions...ftware/amazon/smithy/rust/codegen/lang/CargoDependency.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/RuntimeTypes.kt 2 additions, 0 deletions...oftware/amazon/smithy/rust/codegen/smithy/RuntimeTypes.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/protocols/JsonSerializerSymbolProvider.kt 65 additions, 72 deletions.../codegen/smithy/protocols/JsonSerializerSymbolProvider.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/smithy/protocols/SerializerBuilderTest.kt 26 additions, 0 deletions...hy/rust/codegen/smithy/protocols/SerializerBuilderTest.kt
- rust-runtime/inlineable/Cargo.toml 1 addition, 0 deletionsrust-runtime/inlineable/Cargo.toml
- rust-runtime/inlineable/src/blob_serde.rs 34 additions, 0 deletionsrust-runtime/inlineable/src/blob_serde.rs
- rust-runtime/inlineable/src/lib.rs 1 addition, 0 deletionsrust-runtime/inlineable/src/lib.rs
Loading
Please register or sign in to comment