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

#81 in Database implementations

Download history 35/week @ 2023-12-17 25/week @ 2023-12-24 15/week @ 2023-12-31 44/week @ 2024-01-07 73/week @ 2024-01-14 120/week @ 2024-01-21 10/week @ 2024-01-28 126/week @ 2024-02-04 190/week @ 2024-02-11 129/week @ 2024-02-18 138/week @ 2024-02-25 74/week @ 2024-03-03 108/week @ 2024-03-10 78/week @ 2024-03-17 107/week @ 2024-03-24 293/week @ 2024-03-31

594 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
~364K SLoC