{"repo":"gabotechs/dynarust","free":true,"listed":false,"github":"https://github.com/gabotechs/dynarust","clone":"git clone https://github.com/gabotechs/dynarust.git","description":"A DynamoDB odm library for rust","language":"Rust","stars":18,"topics":["dynamo","dynamodb","odm","orm","rust"],"license":"MIT","category":"databases-storage","readme_excerpt":"Dynarust An opinionated DynamoDB ODM library for Rust that maps structs to native Dynamo items using serde and serde json. It only works with tables with a HASH key and a RANGE key, referred in the code as pk and sk . This setup can be useful for a very wide variety of use cases. Usage You will need the following dependencies in your Cargo.toml (tweak versions as you need): Transactions Dynarust's api is focused on transaction ergonomics, and offers a way or doing transactional operations almost as if they were just normal operations: Setup In order to use this library, the table setup would need to look like this equivalent CFN template: dynarust expects that attributes PrimaryKey and SecondaryKey are declared in the key schema as HASH and RANGE values, and that both are of type S (string). Coming next - Support for global secondary indexes, with the same API that exists right now for the primary ones. Current Limitations - Only works with the HASH and RANGE keys setup. - It is not compatible with global or local secondary indexes. - Missing some batch operations, right now only batch get is implemented.","default_branch":null,"files":null,"tree":[],"storefront":"/r/gabotechs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gabotechs/dynarust/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}