cmac4603 / rustamodb

Rust library for AWS DynamoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rustamodb

Build Status Crates.io

Currently very early stages WIP.

rustamodb is inspired by pynamodb and is a simple to use library for AWS DynamoDB.

Getting Started

To use rustamodb in your apps codebade

In your projects Cargo.toml file (find the latest version on crates.io or see label above!):

[dependencies]
rustamodb = "0.0.6"

In main.rs:

extern crate rustamodb;

fn main() {
    // scan a dynamodb table
    match rustamodb::scan(&"my_dynamodb_table") {
        Ok(scan_output) => {
            for item in scan_output {
                println!("{:?}", item);
            }
        },
        Err(_) => (),
    }
}

To use & develop rustamodb locally with an apps codebade

[dependencies]
rustamodb = { path = "../../gitrepos/rustamodb" }

More documentation to come... see the docs.rs page

Running the tests

Cargo tests

  • Runs unit tests in code
  • Tests code found in documentation lines in code
cargo test

Coding style tests

Currently not implemented

Built With

Contributing

Your First Contribution

Contributors

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Rust library for AWS DynamoDB

License:MIT License


Languages

Language:Rust 100.0%