Skip to content

besport/ocaml-leveldb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-leveldb: OCaml bindings for Google's LevelDB

Copyright (c) 2011-2012 Mauricio Fernandez mfp@acm.org

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

Requirements

  • OCaml >= 3.12.0
  • GCC with C++ frontend (g++)
  • omake to build
  • oUnit for the unit tests

Building

Just

$ omake

should do. It will build both LevelDB and the OCaml bindings.

You can then install (via ocamlfind) with

$ omake install

API documentation

Refer to src/levelDB.mli.

About

OCaml bindings for Google's LevelDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 66.1%
  • C++ 33.9%