Skip to content

Commit

Permalink
Implement serde::Serialize, serde::Deserialize
Browse files Browse the repository at this point in the history
Make it possible for `Item` and `AttributeValue` to be deserialized from
and serialized to DynamoDB's native JSON format.

While this is typically not necessary, for some use cases it can be
valuable.
  • Loading branch information
bryanburgers committed Mar 7, 2023
1 parent 348c480 commit 880bfa5
Show file tree
Hide file tree
Showing 3 changed files with 531 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ __rusoto_dynamodb_0_48 = { package = "rusoto_dynamodb", version = "0.48", defaul
__rusoto_dynamodbstreams_0_46 = { package = "rusoto_dynamodbstreams", version = "0.46", default-features = false, optional = true }
__rusoto_dynamodbstreams_0_47 = { package = "rusoto_dynamodbstreams", version = "0.47", default-features = false, optional = true }
__rusoto_dynamodbstreams_0_48 = { package = "rusoto_dynamodbstreams", version = "0.48", default-features = false, optional = true }
base64 = "0.21.0"
serde = "1"

__rusoto_core_0_46_crate = { package = "rusoto_core", version = "0.46", default-features = false, features = ["rustls"], optional = true }
Expand Down
Loading

0 comments on commit 880bfa5

Please sign in to comment.