Nim wrapper for RocksDB, a persistent key-value store for Flash and RAM Storage.
Go to file
Bruno Škvorc d9c51b8051
Update README.md
2019-01-02 14:57:34 +01:00
examples disable optimization that requires snappy 2018-08-15 20:08:03 -06:00
rocksdb use dynamic linking instead of dlopen on all Linux distros 2018-12-26 23:52:42 +02:00
tests compile fixes for second test (why didn't nimble test catch these?) 2018-08-15 20:16:57 -06:00
.gitignore initial commit 2018-01-27 11:34:54 +01:00
.travis.yml Fixed tests 2018-07-04 14:41:03 +03:00
LICENSE-APACHEv2 fix license files 2018-11-14 12:57:17 -06:00
LICENSE-MIT fix license files 2018-11-14 12:57:17 -06:00
README.md Update README.md 2019-01-02 14:57:34 +01:00
nim.cfg Add a basic higher-level API 2018-06-25 15:59:23 +03:00
rocksdb.nim Distinguish empty values from non existent 2018-09-07 16:30:36 +03:00
rocksdb.nimble Fixed pkg struct (#5) 2018-07-04 14:09:03 +02:00

README.md

Nim-RocksDB

Build Status (Travis) Windows build status (Appveyor) License: Apache License: MIT Stability: experimental

A Nim wrapper for Facebook's RocksDB, a persistent key-value store for Flash and RAM Storage.

Current status

Nim-RocksDB currently provides a wrapper for the low-level functions of RocksDB

Requirements

A RocksDB installation that provides librocksdb.so. This means that on Debian, and possibly on other Linux distros, you need "librocksdb-dev", not just a versioned "librocksdbX.Y" package that only provides librocksdb.so.X.Y.Z.

Usage

See simple_example

Future directions

In the future, Nim-RocksDB might provide a high-level API that:

  • is more in line with Nim conventions (types in CamelCase),
  • automatically checks for errors,
  • leverage Nim features like destructors for automatic resource cleanup.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

License

Licensed and distributed under either of

or

at your option. This file may not be copied, modified, or distributed except according to those terms.