9 releases (5 breaking)

0.5.0 Oct 5, 2023
0.4.1 Apr 5, 2022
0.4.0 Mar 29, 2022
0.3.0 Mar 3, 2022
0.0.0-reserve.0 Jan 19, 2022

#162 in Database implementations

Download history 66/week @ 2024-07-22 68/week @ 2024-07-29 37/week @ 2024-08-05 35/week @ 2024-08-12 30/week @ 2024-08-19 114/week @ 2024-08-26 75/week @ 2024-09-02 76/week @ 2024-09-09 72/week @ 2024-09-16 151/week @ 2024-09-23 88/week @ 2024-09-30 10/week @ 2024-10-07 40/week @ 2024-10-14 37/week @ 2024-10-21 40/week @ 2024-10-28 43/week @ 2024-11-04

161 downloads per month
Used in 7 crates (4 directly)

MIT/Apache

1MB
26K SLoC

BonsaiDb Local

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.

Feature Flags

By default, the full feature is enabled.

  • full: Enables all the flags below
  • async: Enables async-compatible types
  • cli: Enables the clap structures for embedding database management commands into your own command-line interface.
  • encryption: Enables at-rest encryption.
  • instrument: Enables instrumenting with tracing.
  • multiuser: Enables multi-user support.
  • password-hashing: Enables the ability to use password authentication using Argon2.
  • token-authentication: Enables the ability to authenticate using authentication tokens, which are similar to API keys.

Open-source Licenses

This project, like all projects from Khonsu Labs, is open-source. This repository is available under the MIT License or the Apache License 2.0.

To learn more about contributing, please see CONTRIBUTING.md.

Dependencies

~14–25MB
~402K SLoC