#product-os #database-engine #key-value-database #storage-engine #key-value-store #redis #postgresql

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.

11 releases

0.0.11 Dec 5, 2023
0.0.10 Dec 2, 2023
0.0.9 Aug 26, 2023

#1113 in Database interfaces

Download history 13/week @ 2023-12-23 1/week @ 2023-12-30 9/week @ 2024-01-06 5/week @ 2024-01-13 5/week @ 2024-02-03 9/week @ 2024-02-10 8/week @ 2024-02-17 228/week @ 2024-02-24 24/week @ 2024-03-02 39/week @ 2024-03-09 24/week @ 2024-03-16 29/week @ 2024-03-23 47/week @ 2024-03-30 11/week @ 2024-04-06

115 downloads per month
Used in 9 crates

AGPL-3.0-only

345KB
7K 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.11", 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 and PostgreSQL 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–42MB
~1M SLoC