Skip to content

Repository files navigation

datastore

Crates.io Docs.rs

A framework for generically storing data inside stores.

Usage

Add datastore to your Cargo.toml:

datastore = { version = "0.1.5", features = ["derive"] }

Define some data using the StoreData macro:

use datastore::StoreData;

#[derive(StoreData)]
struct Person {
    id: i64,
    name: String,
}

datastore only defines a format describing how to read/write some data from/to a store. To use the defined format you need a crate with a Store driver. See datastore-mysql for an example store implementation.

License

Licensed under either The Apache License, Version 2.0 or MIT license at your option.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages