Drup / ocaml-lmdb

Ocaml bindings for lmdb.
https://drup.github.io/ocaml-lmdb/dev/
MIT License
48 stars 3 forks source link

not in opam?! #4

Closed UnixJunkie closed 5 years ago

UnixJunkie commented 6 years ago

What is the show stopper? Is it not production ready?

Drup commented 6 years ago

You're right, I should release. Handling some part of lmdb in a sound way is very painful, and so I don't do it. But the last version is decent at allowing users to create types of databases with various customizations.

UnixJunkie commented 6 years ago

If you have a simple example using string keys and values (to implement a persistent hashtbl), I'll take it.

Drup commented 6 years ago

https://github.com/Drup/ocaml-lmdb/blob/master/tests/simple_db.ml

Drup commented 5 years ago

Done!

UnixJunkie commented 5 years ago

I wrote dokeysto for the specific purpose I needed.

opam info dokeysto
[...]
Persistent hash table (i.e. in a file on disk) for string keys and string values.