iqdb 0.1.0

Embedded vector database for Rust. Lock-free, allocation-free hot path; cross-platform similarity search.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Minimal example — open an in-memory instance and close it.
//!
//! Run with:
//! ```sh
//! cargo run --example basic
//! ```

use iqdb::Iqdb;

fn main() {
    let db = Iqdb::open_in_memory();
    println!("iqdb instance opened (stub)");
    match db.close() {
        Ok(()) => println!("closed cleanly"),
        Err(err) => eprintln!("failed to close: {err}"),
    }
}