mozilla-services/serde_dynamodb

Name: serde_dynamodb

Owner: Mozilla Services

Description: null

Created: 2018-05-02 21:44:37.0

Updated: 2018-05-09 20:24:08.0

Pushed: 2018-05-09 20:24:07.0

Homepage: null

Size: 63

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

serde_dynamodb License: MIT Build Status Build status Coverage Status Realease Doc Crate

Library to de/serialize an object to an HashMap of AttributeValues used by rusoto_dynamodb to manipulate objects saved in dynamodb using serde

The API docs for the master branch are published here.

Example
rive(Serialize, Deserialize)]
ct Todo {
id: uuid::Uuid,
title: &'static str,
done: bool,


todo = Todo {
id: uuid::Uuid::new_v4(),
title: "publish crate",
done: false,


put_item = PutItemInput {
item: serde_dynamodb::to_hashmap(&todo).unwrap(),
table_name: "todos".to_string(),
..Default::default()


client = DynamoDbClient::simple(Region::UsEast1);
nt.put_item(&put_item).unwrap();

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.