#database-engine #key-value-database #product-os #storage-engine #key-value-store #sql-database #relational

product-os-store

Product OS : Store provides a flexible and higher-level framework for defining storage engines / database engines and the actions to read and write to those storage engines / databases. This crate leverages a number of existing crates to achieve this. Support currently for key-value, queue and relational databases. Popular databases supported include Redis and PostgreSQL at this time. You should use Product OS : Store Macros with this crate for best results.

25 releases

new 0.0.25 Oct 27, 2024
0.0.24 Oct 27, 2024
0.0.23 Aug 11, 2024
0.0.13 Jun 14, 2024
0.0.9 Aug 26, 2023

#645 in Database interfaces

Download history 4/week @ 2024-07-05 26/week @ 2024-07-12 20/week @ 2024-07-19 28/week @ 2024-07-26 15/week @ 2024-08-02 991/week @ 2024-08-09 90/week @ 2024-08-16 25/week @ 2024-08-23 24/week @ 2024-08-30 14/week @ 2024-09-06 128/week @ 2024-09-13 96/week @ 2024-09-20 24/week @ 2024-09-27 8/week @ 2024-10-04 7/week @ 2024-10-11 6/week @ 2024-10-18

70 downloads per month
Used in 9 crates

AGPL-3.0-only

460KB
9K SLoC

Product OS : Store

Product OS : Store provides a flexible and higher-level framework for defining storage engines / database engines and the actions to read and write to those storage engines / databases.

This crate leverages a number of existing crates to achieve this. Support currently for key-value, queue and relational databases. Popular databases supported include Redis and PostgreSQL at this time.

You should use Product OS : Store Macros with this crate for best results.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Store.

cargo add product-os-store

or add Product OS : Store to your cargo.toml [packages] section.

product-os-store = { version = "0.0.25", features = [], default-features = true, optional = false }

Features

Product OS Store supports a number of features leveraging existing Rust libraries such as sqlx and redis as follows:

  • Higher level interface for handling storage reads and writes
  • Support for key-value, queue and relational databases
  • Supports Redis, PostgreSQL and Sqlite at this time
  • Entire abstraction of data to allow for high level definitions of SQL queries using macros with Product OS : Store Macros
  • Scalable support for future document and event stores (yet to implement)
// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Dependencies

~23–43MB
~1M SLoC