1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
//! # rustamodb //! //! `rustamodb` is inspired by [pynamodb](https://pynamodb.readthedocs.io/en/latest/) and is a simple //! to use library for AWS DynamoDB. //! //! # Examples //! //! ``` //! fn main() { //! match rustamodb::scan(&"my_dynamodb_table") { //! Ok(scan_output) => { //! for item in scan_output { //! println!("{:?}", item); //! } //! }, //! Err(_) => (), //! } //! } //! ``` #[macro_use] extern crate lazy_static; extern crate rusoto_core; extern crate rusoto_dynamodb; mod ops; pub use self::ops::{ AttributeMap, scan, Scan, ScanErr, RustamoDbScanOutput, get_item, Get, GetItem, GetErr, RustamoDbGetOutput, add_item, Add, AddItem, AddErr, del_item, Del, DelItem, DelErr, RustamoDbError, };