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

#580 in Database interfaces

Download history 52/week @ 2023-11-02 58/week @ 2023-11-09 72/week @ 2023-11-16 95/week @ 2023-11-23 105/week @ 2023-11-30 72/week @ 2023-12-07 83/week @ 2023-12-14 102/week @ 2023-12-21 63/week @ 2023-12-28 119/week @ 2024-01-04 117/week @ 2024-01-11 214/week @ 2024-01-18 96/week @ 2024-01-25 116/week @ 2024-02-01 310/week @ 2024-02-08 199/week @ 2024-02-15

730 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

~13–24MB
~361K SLoC