#product-os #sql-query #store #higher-order #macro #highly #flexible

macro product-os-store-macros

Product OS : Store Macros provides a highly flexible higher order framework for defining SQL queries by using Rust directly. This crate is to be used with Product OS : Store.

3 releases

0.0.3 Dec 2, 2023
0.0.2 Aug 21, 2023
0.0.1 Aug 20, 2023

#1168 in Procedural macros

Download history 3/week @ 2024-01-06 2/week @ 2024-01-13 4/week @ 2024-02-10 14/week @ 2024-02-17 146/week @ 2024-02-24 22/week @ 2024-03-02 25/week @ 2024-03-09 14/week @ 2024-03-16 19/week @ 2024-03-23 43/week @ 2024-03-30 9/week @ 2024-04-06

88 downloads per month
Used in 6 crates (5 directly)

AGPL-3.0-only

88KB
1K SLoC

Product OS : Store Macros

Product OS : Store Macros provides a highly flexible higher order framework for defining SQL queries by using Rust directly. This crate is to be used with Product OS : Store.

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

cargo add product-os-store-macros

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

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

Features

Product OS Store Macros provides a higher order farmework for defining SQL queries using Rust without needing to remember SQL syntax. The following is supported:

  • Simple queries
  • Complex queries involving joins
  • Specific queries to PostgreSQL supported
  • Follows the framework for Relational database structures defined in Product OS : Store
// 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

~4MB
~78K SLoC