8 releases (4 breaking)

Uses new Rust 2021

0.4.1 Apr 5, 2022
0.4.0 Mar 29, 2022
0.3.0 Mar 3, 2022
0.2.0 Feb 18, 2022
0.0.0-reserve.0 Jan 19, 2022

#730 in Database interfaces

Download history 73/week @ 2022-03-10 48/week @ 2022-03-17 42/week @ 2022-03-24 71/week @ 2022-03-31 113/week @ 2022-04-07 50/week @ 2022-04-14 15/week @ 2022-04-21 41/week @ 2022-04-28 87/week @ 2022-05-05 156/week @ 2022-05-12 59/week @ 2022-05-19 82/week @ 2022-05-26 94/week @ 2022-06-02 24/week @ 2022-06-09 55/week @ 2022-06-16 30/week @ 2022-06-23

220 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

1MB
21K SLoC

BonsaiDb Client

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.58, and we plan on updating the MSRV to implement namespaced Features as soon as the feature is released.

Feature Flags

By default, the full feature is enabled. These features are prefixed by local- when being enabled from the omnibus bonsaidb crate.

  • 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.

Open-source Licenses

This project, like all projects from Khonsu Labs, are 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

~11–20MB
~371K SLoC