7 releases

0.3.1 Aug 15, 2018
0.3.0 Apr 23, 2018
0.2.2 Mar 14, 2018
0.2.1 Jan 1, 2018
0.1.0 Apr 8, 2017

#7 in Database implementations

Download history 16/week @ 2018-09-18 5/week @ 2018-09-25 29/week @ 2018-10-02 9/week @ 2018-10-09 3/week @ 2018-10-16 17/week @ 2018-10-23 42/week @ 2018-11-06 22/week @ 2018-11-13 17/week @ 2018-11-20 16/week @ 2018-11-27 86/week @ 2018-12-04

117 downloads per month

MPL-2.0 license

157KB
4K 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
twitter

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.3.2"

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 rec in persy.scan_records("seg")? {
    assert_eq!(rec.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

~1MB
~12K SLoC