lmdb-rs VS heed

Compare lmdb-rs vs heed and see what are their differences.


Rust bindings for LMDB (by vhbit)


A fully typed LMDB wrapper with minimum overhead (by meilisearch)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
lmdb-rs heed
0 17
107 365
- 7.7%
0.0 0.0
10 months ago 10 days ago
Rust Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of lmdb-rs. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning lmdb-rs yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of heed. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-06.
  • What's everyone working on this week (10/2023)?
    11 projects | /r/rust | 6 Mar 2023
    At Meilisearch we are currently trying to add a better error handling in heed v0.20, our LMDB key-value store wrapper. Unfortunately, when there are a lot of generics it can become harder to play with…
  • We’re the Meilisearch team! To celebrate v1.0 of our open-source search engine, Ask us Anything!
    14 projects | /r/rust | 8 Feb 2023
    The big issue with compiling milli (meilisearch's rust search engine library) is that it uses LMDB. I noticed some possible smaller issues as well, but those can hopefully be worked out easily in the future. TL;DR: LMDB won't compile to WASI in the next few years, if ever. You need a WASM-friendly replacement. Looked into other options here but none are really suitable. Thus, only idea I could come up with is making a LMDB polyfill that uses IndexedDB under the hood for web support. See here: https://github.com/meilisearch/heed/issues/162. I plan on making a PR for it at some point but I have no clue when since it is a decently large feat. Side note: if you wanted to help, I would be happy to have it!
    14 projects | /r/rust | 8 Feb 2023
    There are issues and pull requests but I advise you to look at the milli folder in the Meilisearch repository, it’s where all the logic is done. We extensively use RoaringBitmaps, heed the LMDB wrapper and grenad when indexing.
  • Release of an alpha version to perfect the heed library: the most maintained Rust LMDB wrapper
    2 projects | /r/rust | 11 Jan 2023
    I’ll continue to introduce new features and new safety guards until v0.20.0. Can you tell me more about your project? Or is it private?
    2 projects | /r/rust | 11 Jan 2023
  • Are there any embedded databases that have multiple-process support?
    4 projects | /r/rust | 10 Jan 2023
    I'm not sure what you need. Are these of any use? https://github.com/meilisearch/heed https://github.com/spacejam/sled
    4 projects | /r/rust | 10 Jan 2023
    LMDB support multiple readers and one writer at the same time. It is ensured by the library. Note that LMDB is a key-value store. You can use the heed library which is the most maintained Rust wrapper.
  • Key/Value Store Recommendations
    3 projects | /r/rust | 24 Dec 2022
    Note that heed is ensuring that you are not trying to use transactions, databases and environments in the right way. I have added much more work in that regard in the important update that I am working on too!
    3 projects | /r/rust | 24 Dec 2022
    This rewrite will make heed based on the latest version of LMDB, the mdb.master3 branch. This version will also bring the new page-based encryption feature. I would be thankful if you could use it and tell me the issues you found.
  • What's everyone working on this week (45/2022)?
    9 projects | /r/rust | 7 Nov 2022
    I am currently working on exposing the new LMDB encryption feature from heed the safe LMDB wrapper with the help of the Cryptography community.

What are some alternatives?

When comparing lmdb-rs and heed you can also consider the following projects:

PickleDB - PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB

sled - the champagne of beta embedded databases

tikv - Distributed transactional key-value database, originally created to complement TiDB

KeyDB - A Multithreaded Fork of Redis

Rust Client for KairosDB   - Rust client for KairosDB

r2d2 - A generic connection pool for Rust

MeiliSearch - A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow.

rkv - A simple, humane, typed key-value storage solution.

nanodb-specification - Nano ledger database format specification and Python sample

milli - Search engine library for Meilisearch ⚡️