1 unstable release

0.1.0 Apr 18, 2020

#58 in #backed

MIT license

21KB
457 lines

Persistent key-value store backed by GIT.

This package provides a key-value store that uses GIT for the permanent storage.

Example

use gitmap::Repo;

let path = Path::new("/storage/path");
let map = Repo::init(path);
map.insert_key("key1", "value1".to_bytes());
map.insert_key("key2", "value2".to_bytes());
map.commit("First commit");

To-do

  • Add rollback()

Dependencies

~12MB
~276K SLoC