meilisearch / heed

A fully typed LMDB wrapper with minimum overhead 🐦

Home Page:https://docs.rs/heed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a cookbook page in the documentation

Kerollmops opened this issue · comments

It would be great to show how we can:

  • Implement a custom codec with BytesEncode/BytesDecode
  • Do prefix search with a custom codec.
  • Dynamically increase the size of the database by closing and reopening it
  • Listing the name of the databases.
  • Show how to lazily decode types using the LazyDecode + Lazy structs.
  • Show how to share content between threads safely even by using RwTxn.

This cookbook could be inspired by the one from the CSV or the clap crate.