#documentation #datomic #datom-rs

nightly bin+lib datom

datom-rs: an open-source database inspired by Datomic

4 releases

0.1.1-pre4 Aug 26, 2021
0.1.1-pre3 Aug 21, 2021
0.1.1-pre2 Aug 20, 2021
0.1.0 Aug 19, 2021

#876 in Database interfaces

BlueOak-1.0.0 OR BSD-2-Clause-Patent

100KB
2K SLoC

datom-rs

CI status Coverage Status Version Libraries.io dependency status for latest release FOSSA Status License Matrix: #datom-rs:lutris.engineering IRC: ##datom.rs on libera.chat GitHub Sponsors Contributor Covenant

An open-source database inspired by Datomic

Documentation

datom-rs is currently under pre-release development.

Installation

Add the following to the [dependencies] section of your Cargo.toml:

datom = "0.1"

MSRV

Currently, datom-rs requires Rust nightly. We use the following unstable features, though we're open to refactoring them out.

  • edition2021: The Rust 2021 edition, which should be stable in Rust 1.56.
  • generic_associated_types: Generic Associated Types, or GATs, allow implementors of Connection to specify their Database as being generic on a lifetime. GATs are on track for stability (rust-lang/rust#44365), and there seems to only be one remaining unresolved question (rust-lang/rust#87479).
  • map_first_last: Adds additional useful functions to BTreeMap/BTreeSet. On track for stability (rust-lang/rust#62924).
  • once_cell: A standard alternative to lazy_static

Sponsors

Sponsor Contribution
Lutris Engineering Lutris Engineering runs the datom-rs project.

Dependencies

~3–4MB
~64K SLoC