mmdb-1.0.0 has been yanked.
mmdb
mmdb is a 'std-collection-like' database.
This is a simplified version of vsdb, retaining only the most practical and stable parts.
To view the change log check here.
Highlights
- Most APIs is similar as the coresponding data structures in the standard library
- Use
Vecxjust likeVec - Use
Mapxjust likeHashMap - Use
MapxOrdjust likeBTreeMap
- Use
- ...
Compilation features
- [ DEFAULT ]
rocks_backend, userocksdbas the backend database- Stable
- C++ implementation, difficult to be compiled into a static binary
parity_backend, useparity-dbas the backend database- Experimental
- Pure rust implementation, can be easily compiled into a static binary
msgpack_codec, usermp-serdeas the codec- Faster running speed than json
json_codec, useserde_jsonas the codec- Better generality and compatibility
compress, enable compression in the backend database
NOTE
- The serialized result of a mmdb instance can not be used as the basis for distributed consensus
- The serialized result only contains some meta-information(storage paths, etc.)
- These meta-information are likely to be different in different environments
- The correct way is to read what you need from it, and then process the real content