Skip to content

Commit 6a6f4e5

Browse files
committed
Document a bit the heed and heed3 crates differences
1 parent d8bcae1 commit 6a6f4e5

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<p align="center"><img width="280px" src="https://raw.githubusercontent.com/meilisearch/heed/main/assets/heed-pigeon-logo.png"></a></p>
2-
<h1 align="center" >heed</h1>
2+
<h1 align="center" >heed & heed3</h1>
33

44
[![License](https://img.shields.io/badge/license-MIT-green)](#LICENSE)
55
[![Crates.io](https://img.shields.io/crates/v/heed)](https://crates.io/crates/heed)
66
[![Docs](https://docs.rs/heed/badge.svg)](https://docs.rs/heed)
77
[![dependency status](https://deps.rs/repo/github/meilisearch/heed/status.svg)](https://deps.rs/repo/github/meilisearch/heed)
88
[![Build](https://github.com/meilisearch/heed/actions/workflows/rust.yml/badge.svg)](https://github.com/meilisearch/heed/actions/workflows/rust.yml)
99

10-
A Rust-centric [LMDB](https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) abstraction with minimal overhead. This library enables the storage of various Rust types within LMDB, extending support to include Serde-compatible types.
10+
A Rust-centric [LMDB](https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) abstraction with minimal overhead. This library enables the storage of various Rust types within LMDB, extending support to include Serde-compatible types. It not only supports the LMDB `mdb.master` branch but also the `mdb.master3` branch which features encryption-at-rest and checksumming.
1111

1212
## Simple Example Usage
1313

14-
Here is an example on how to store and read entries into LMDB in a safe and ACID way. For usage examples, see [heed/examples/](heed/examples/). To see more advanced usage techniques go check our [Cookbook](https://docs.rs/heed/latest/heed/cookbook/index.html).
14+
Here is an example on how to store and read entries into LMDB in a safe and ACID way. For usage examples, see [examples/](examples/). To see more advanced usage techniques go check our [Cookbook](https://docs.rs/heed/latest/heed/cookbook/index.html).
1515

1616
```rust
1717
use std::fs;

heed/src/envs/env_open_options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl EnvOpenOptions {
161161
}
162162

163163
/// Creates a blank new set of options ready for configuration and specifies that
164-
/// the [`Env`] will be encrypted using the `E` algorithm with the given `key`.
164+
/// the [`Env`] will be encrypted-at-rest using the `E` algorithm with the given `key`.
165165
///
166166
/// You can find more compatible algorithms on [the RustCrypto/AEADs page](https://github.com/RustCrypto/AEADs#crates).
167167
///

heed/src/lib.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@
55
html_logo_url = "https://raw.githubusercontent.com/meilisearch/heed/main/assets/heed-pigeon-logo.png?raw=true"
66
)]
77

8-
//! `heed` is a high-level wrapper of [LMDB].
8+
//! `heed` and `heed3` are high-level wrappers of [LMDB].
99
//!
10-
//! The [cookbook] will give you a variety of complete Rust programs to use with heed.
10+
//! - `heed` is a wrapper around LMDB on the `mdb.master` branch,
11+
//! - `heed3` derives from the `heed` wrapper but on the `mdb.master3` branch.
12+
//!
13+
//! The `heed3` crate will be stable once the LMDB version on the `mdb.master3` branch
14+
//! will be officially released. It features encryption-at-rest and checksumming features
15+
//! that the `heed` crate doesn't.
16+
//!
17+
//! The [cookbook] will give you a variety of complete Rust programs to use with `heed`.
1118
//!
1219
//! ----
1320
//!

lmdb-master3-sys/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# lmdb-master-sys
1+
# lmdb-master3-sys
22

3-
Rust bindings for liblmdb on the mdb.master branch.
3+
Rust bindings for liblmdb on the mdb.master3 branch.

0 commit comments

Comments
 (0)