Copyright (c) 2011-2021 Mauricio Fernandez [email protected]
These bindings expose nearly the full LevelDB C++ API, including:
- iterators
 - snapshots
 - batch updates
 - support for custom comparators
 
Blocking functions release the OCaml runtime system, allowing to:
- run them in parallel with other OCaml code
 - perform multiple LevelDB operations in parallel
 
- OCaml >= 3.12.0
 - GCC with C++ frontend (g++)
 - dune to build
 - ounit2 for the unit tests
 - LevelDB (including dev package libleveldb-dev or similar)
 - Snappy (including dev package libsnappy-dev or similar)
 
Just
$ dune build @install
should do. It will build both LevelDB and the OCaml bindings.
You can then install with
$ dune install
Refer to src/levelDB.mli.
This software is dual-licensed as LGPL+static linking exception and MIT. Refer to LICENSE.MIT and LICENSE.LGPL+static.