OKV - Okay Key-Value Storage
Credits
A lot of the inspiration for the okv api comes from the amazing heed crate. Thanks to the authors of heed for their work!
Features
default: memdb and serde-json
Databases
memdb: In-memory database
rocksdb: RocksDB database
sqlite: SQLite database
Serializers
serde-json: JSON serialization
serde-rmp: MessagePack serialization
Usage
use ;
Supported types
Any type that implements Serialize can be used as a key or value. The following types are supported out of the box:
u8,u16,u32,u64,u128,usizei8,i16,i32,i64,i128,isize()&str,String&[u8],Vec<u8>