-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add serde support to document type. #2616
Merged
jdisanti
merged 49 commits into
smithy-lang:main
from
thomas-k-cameron:RFC30/rust-runtime-impl-serde-on-runtime-types
Jun 14, 2023
Merged
Changes from 47 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
bc55504
add serde support on meta data
thomas-k-cameron 931a23e
add serde support to
thomas-k-cameron f7715fb
update lib.rs
thomas-k-cameron 8cf5e3c
remove unused imports
thomas-k-cameron eef5b35
- add RUSTFLAGS
thomas-k-cameron 06adf2f
Merge branch 'main' into RFC30/kotlin-buildSrc
thomas-k-cameron a0f0400
Merge commit 'bc55504b8741bedbf2bac2e214dc7796cf5b9a85' into RFC30/ru…
thomas-k-cameron 749f73d
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron c203d2e
FIX
thomas-k-cameron 17ab7ff
serde support for error metadata
thomas-k-cameron 02dda32
Merge branch 'main' into RFC30/kotlin-buildSrc
thomas-k-cameron 81ccbbf
chore: update CHANGELOG.next.toml
thomas-k-cameron 5747deb
Merge commit 'eef5b35a22c4f3c70a7e2387c2cf129da637ef3f'
thomas-k-cameron 59babf7
Merge branch 'main' into RFC30/error-metadata
thomas-k-cameron 6edcd1a
chore: update CHANGELOG.next.toml
thomas-k-cameron 4d8f5dd
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron b219038
update
thomas-k-cameron f6acd67
Merge commit '02dda32725fb38e0b865c8105b3743cae8c7a171' into RFC30/ru…
thomas-k-cameron 7e690c7
Merge commit '6edcd1a418d73c1a6b4244bace78856d5d1a2fa5' into RFC30/ru…
thomas-k-cameron 6138ccd
chore: update CHANGELOG.next.toml
thomas-k-cameron caaa193
Update CHANGELOG.next.toml
thomas-k-cameron 8b3b640
Update CHANGELOG.next.toml
thomas-k-cameron 7207a9c
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron de7971f
Add serde support to number type
thomas-k-cameron bf7347a
pre-commit
thomas-k-cameron 6e4b68a
Update number.rs
thomas-k-cameron d89e8f4
Update metadata.rs
thomas-k-cameron 3d62a68
Update metadata.rs
thomas-k-cameron 5d850d9
Update metadata.rs
thomas-k-cameron e27abc1
Delete error_meta_data.json
thomas-k-cameron b69160d
Delete error_meta_data_empty.json
thomas-k-cameron c10824f
Merge commit '6e4b68a061637f7407be2cc633d43be24e4225e7' into RFC30/ru…
thomas-k-cameron 54fa834
FIX
thomas-k-cameron c8acea1
Update number.rs
thomas-k-cameron cc4ba98
FIX?
thomas-k-cameron 6c6e344
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron e1957e3
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron dedf9dc
Merge commit 'e1cf72e52d152519f57a66d95a23322fe1de0759' into RFC30/ru…
thomas-k-cameron 19cb914
Merge commit '74a7204123555ff68c841b42cbe273e08cef1c16' into RFC30/ru…
thomas-k-cameron 4996788
update
thomas-k-cameron 0a8dfef
Update Cargo.toml
thomas-k-cameron efac2c5
Update document.rs
thomas-k-cameron c6bc3d9
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron 875b621
update
thomas-k-cameron ba06f04
asdf
thomas-k-cameron 9aabc04
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron 2fdf75c
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron ddefd70
Update blob.rs
thomas-k-cameron 4bcfb2a
Merge branch 'main' into RFC30/rust-runtime-impl-serde-on-runtime-types
thomas-k-cameron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
rust-runtime/aws-smithy-types/test_data/serialize_document.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"null": null, | ||
"true": true, | ||
"pos_int": 1, | ||
"false": false, | ||
"map": { | ||
"array": [ | ||
{ | ||
"pos_int": 1, | ||
"float": 0.30000000000000004, | ||
"neg_int": -1, | ||
"hello": "world", | ||
"false": false, | ||
"true": true | ||
}, | ||
"hello-world", | ||
true, | ||
false | ||
], | ||
"pos_int": 1, | ||
"float": 0.30000000000000004, | ||
"neg_int": -1, | ||
"hello": "world", | ||
"false": false, | ||
"true": true | ||
}, | ||
"float": 0.30000000000000004, | ||
"neg_int": -1, | ||
"hello": "world", | ||
"array": [ | ||
{ | ||
"pos_int": 1, | ||
"float": 0.30000000000000004, | ||
"neg_int": -1, | ||
"hello": "world", | ||
"false": false, | ||
"true": true | ||
}, | ||
"hello-world", | ||
true, | ||
false | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice test!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D