Library to de/serialize an object to an HashMap
of AttributeValue
s used by rusoto_dynamodb to manipulate objects saved in dynamodb using serde
This is just a fork of https://github.com/mockersf/serde_dynamodb with the dynamodb bits taken out, so that streams can handle rustls
toml
[dependencies]
serde_dynamodb_streams = "0.2.1"
```rust
struct Todo { id: uuid::Uuid, title: &'static str, done: bool, }
let todo = Todo { id: uuid::Uuid::new_v4(), title: "publish crate", done: false, };
let putitem = PutItemInput { item: serdedynamodb::tohashmap(&todo).unwrap(), tablename: "todos".to_string(), ..Default::default() };
let client = DynamoDbClient::simple(Region::UsEast1); client.putitem(&putitem).unwrap(); ```