Skip to content

MrGunflame/datastore

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages