Crate bonsaidb_local
source ·Expand description
BonsaiDb’s offline database implementation.
This crate exposes BonsaiDb’s local database implementation. The
Storage type provides its most common functionality by
implementing the StorageConnection.
Minimum Supported Rust Version (MSRV)
While this project is alpha, we are actively adopting the current version of
Rust. The current minimum version is 1.70.
Re-exports
pub use argon2;
Modules
- Command-line interface helpers.
- Configuration options.
- Encryption and secret management.
Structs
- A database stored in BonsaiDb. This type blocks the current thread when used. See
AsyncDatabasefor this type’s async counterpart. - A file-based, multi-database, multi-user database engine. This type blocks the current thread when used. See
AsyncStoragefor this type’s async counterpart. - The unique id of a
Storageinstance. - A subscriber for
PubSubmessages.
Enums
- Errors that can occur from interacting with storage.
Traits
- A location to store and restore a database from.
- Operations that can be performed on both
DatabaseandAsyncDatabase. - Functionality that is available on both
StorageandAsyncStorage.