{"repo":"vincent-herlemont/native_db","free":true,"listed":false,"github":"https://github.com/vincent-herlemont/native_db","clone":"git clone https://github.com/vincent-herlemont/native_db.git","description":"Drop-in embedded database in Rust","language":"Rust","stars":707,"topics":["database","kv-store","rust","real-time","cross-platform","android","ios","mobile","orm","embedded-database"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Native DB Here's a drop-in, fast, embedded database for multi-platform apps (server, desktop, mobile). Sync Rust types effortlessly. Enjoy! 😌🍃. Features - Simple API 🦀. - Support for multiple indexes (primary, secondary, unique, non-unique, optional). - Note: Optional secondary keys with None values cannot be queried using range syntax. See documentation for details. - Fast, see sqlite vs redb vs native db benchmarks. - Transparent serialization/deserialization using native model. You can use any serialization library you want ( bincode , postcard , your own etc.). - Ensure query type safety to prevent unexpected results caused by selecting with an incorrect type. - Automatic model migration 🌟. - Thread-safe and fully ACID-compliant transactions provided by redb. - Real-time subscription with filters for insert , update and delete operations. - Compatible with all Rust types ( enum , struct , tuple etc.). - Hot snapshots . Installation Add this to your Cargo.toml : Status Active development. The API is not stable yet and may change in the future. How to use? - Documentation API - Quick Start - Major Version Upgrade Guide - Full example with Tauri: native db tauri vanilla Projects using Native DB - polly-scheduler - Oku If you want to propose your project or company that uses Native DB, please open a PR. Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/vincent-herlemont","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vincent-herlemont/native_db/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}