A drop-in embedded database for Rust with type safety, automatic migration, and real-time subscriptions.
Native DB is an embedded database library for Rust that allows developers to store and query data using native Rust types. It solves the problem of integrating databases into Rust applications by providing a type-safe, ACID-compliant storage solution with automatic migration and real-time subscriptions. It is designed as a drop-in replacement for applications needing embedded data persistence without external database servers.
Rust developers building multi-platform applications (servers, desktop, mobile) that require embedded, type-safe data storage with minimal setup and maintenance overhead.
Developers choose Native DB for its seamless integration with Rust's type system, automatic model migration, and real-time subscription capabilities, offering a robust alternative to SQLite or other embedded databases with better type safety and developer experience.
Drop-in embedded database in Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Prevents runtime errors by enforcing correct types at compile time, as shown in the example where queries use Rust types directly.
Transparently handles model changes during updates, reducing manual migration effort and potential data loss.
Offers live updates with filters for insert, update, and delete operations, enabling reactive application designs.
Designed for servers, desktops, and mobile, with CI badges showing cross-platform testing, including iOS and Android.
The README warns that 'API is not stable yet and may change in the future,' making it risky for long-term projects.
Lacks advanced query features like joins; optional secondary keys with None values cannot use range syntax, as noted in the documentation.
Fewer community resources and integrations compared to established embedded databases like SQLite, with limited listed projects using it.