13 unstable releases (4 breaking)

0.5.0 Jun 1, 2019
0.4.0 Mar 3, 2019
0.3.2 Sep 13, 2018
0.3.0 Apr 23, 2018
0.1.1 Jun 11, 2017

#63 in Database implementations

Download history 73/week @ 2019-03-22 1/week @ 2019-03-29 29/week @ 2019-04-05 11/week @ 2019-04-12 16/week @ 2019-04-19 5/week @ 2019-04-26 30/week @ 2019-05-03 17/week @ 2019-05-10 30/week @ 2019-05-17 13/week @ 2019-05-24 39/week @ 2019-05-31 30/week @ 2019-06-07 3/week @ 2019-06-14 152/week @ 2019-06-21 34/week @ 2019-06-28

93 downloads per month
Used in 2 crates

MPL-2.0 license

315KB
8K SLoC

Persy

build status

Persy is a transactional storage engine written in rust.

* still under development, hacking welcome check out new contributor friendly issues *

persy.rs
crate.io
doc.rs
Mastodon

COMPILING THE SOURCE

Checkout the source code:

git clone https://gitlab.com/tglman/persy.git

Compile and Test

cargo test 

INSTALL

Add it as dependency of your project:

[dependencies]
persy="0.5"

USAGE EXAMPLE

Create a new persy file save some data in it and scan it.

use persy::{Persy,Config};
//...
Persy::create("./open.persy")?;
let persy = Persy::open("./open.persy",Config::new())?;
let mut tx = persy.begin()?;
persy.create_segment(&mut tx, "seg")?;
let data = vec![1;20];
persy.insert_record(&mut tx, "seg", &data)?;
let prepared = persy.prepare_commit(tx)?;
persy.commit(prepared)?;
for (_id, content) in persy.scan("seg")? {
    assert_eq!(content[0], 20);
    //....
}

CONTRIBUTION

There are a few option for contribute to persy, you can start from reviewing and suggesting API changes, jump directly to hacking the code or just playing a bit with docs.
If you want a list of possibility you can start from the list of new contributor friendly issues
If you would like to contact the developers send a mail to user dev on the persy.rs domain ( spam safety :) ).

Dependencies

~1.5MB
~14K SLoC