src/lib.rs

native_db · src/lib.rs · rust · MIT
database

! Native DB is a Rust library that provides a simple, fast, and embedded database solution, ! focusing on maintaining coherence between Rust types and stored data with minimal boilerplate. ! It supports multiple indexes, real-time watch with filters, model migration, hot snapshot

// Source: https://github.com/vincent-herlemont/native_db | License: MIT | Copyright 2023 Vincent Herlemont
// Provided via justclaw.it.com; keep this notice with the code.
//! Native DB is a Rust library that provides a simple, fast, and embedded database solution,
//! focusing on maintaining coherence between Rust types and stored data with minimal boilerplate.
//! It supports multiple indexes, real-time watch with filters, model migration, hot snapshot, and more.
//!
//! # Summary
//! - [Api](#api)
//! - [Quick Start](#quick-start)
//!    - [Create a model](#create-a-model)
//!    - [Create a database](#create-a-database)
//!    - [Insert a model in the database](#insert-a-model-in-the-database)
//!    - [Update a model](#update-a-model)
//!    - [Migration](#migration)
//! - Advanced
/

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key