emdb 0.1.0

A lightweight, high-performance embedded database for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Minimal example — open an in-memory instance and report its state.
//!
//! Run with:
//! ```sh
//! cargo run --example basic
//! ```

use emdb::Emdb;

fn main() {
    let db = Emdb::open_in_memory();
    println!("emdb instance opened");
    println!("  len:      {}", db.len());
    println!("  is_empty: {}", db.is_empty());
}