Mercurial > lbo > hg > leveldb-rs
view README.md @ 157:de83256f4423
Refactor Env and PosixDiskEnv to be more dynamic.
This comes closer to the original LevelDB implementation, is more flexible, and
most importantly enables inclusion as member of Options.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 09 Jul 2017 20:33:20 +0200 |
parents | d6a5c7e8d40f |
children | f3d44aa3fbdf |
line wrap: on
line source
# leveldb-rs A fully compatible implementation of LevelDB in Rust. ## Status In development; most of the infrastructure exists, but the actual database logic has not yet been implemented. ## Goals Some of the goals of this implementation are * As few copies of data as possible; most of the time, slices of bytes (`&[u8]`) are used. Owned memory is represented as `Vec<u8>` (and then possibly borrowed as slice). * Correctness -- self-checking implementation, good test coverage, etc. Just like the original implementation. * Clarity; commented code, clear structure (hopefully doing a better job than the original implementation). * Coming close-ish to the original implementation; clarifying the translation of typical C++ constructs to Rust.