14 releases (9 breaking)

0.11.0 Oct 3, 2024
0.10.1 Jul 31, 2024
0.9.0 Jul 23, 2024
0.7.1 Mar 16, 2024
0.2.0 Jan 10, 2023

#25 in #interpreters

Download history 95/week @ 2024-08-31 16/week @ 2024-09-07 74/week @ 2024-09-14 44/week @ 2024-09-21 184/week @ 2024-09-28 31/week @ 2024-10-05 22/week @ 2024-10-12 13/week @ 2024-10-19 10/week @ 2024-10-26 46/week @ 2024-11-02 2/week @ 2024-11-09 10/week @ 2024-11-16 15/week @ 2024-11-23 19/week @ 2024-11-30 65/week @ 2024-12-07 21/week @ 2024-12-14

123 downloads per month
Used in 8 crates (via partiql-ast)

Apache-2.0

10KB
132 lines

PartiQL Rust

Crate Docs License CI Build codecov

This is a collection of crates to provide Rust support for the PartiQL query language.

The crates in this repository are considered experimental, under active/early development, and APIs are subject to change.

This project uses workspaces to manage the crates in this repository. The partiql crate is intended to be the crate that exports all the relevant partiql-* sub-crate functionality. It is factored in this way to make applications needing only some sub-component of the PartiQL implementation possible (e.g. an application that only requires the PartiQL parser can depend on partiql-parser directly).

Development

This project uses a git submodule to pull in partiql-tests. The easiest way to pull everything in is to clone the repository recursively:

$ git clone --recursive https://github.com/partiql/partiql-lang-rust.git

You can also initialize the submodules as follows:

$ git submodule update --init --recursive

Running the conformance tests

Running cargo test from the partiql-lang-rust root will not run the conformance tests by default.

To run all the tests (including conformance tests), you will need to run cargo test with the "conformance_test" --features flag:

cargo test --features "conformance_test"

Or to run just the conformance tests:

cargo test --package partiql-conformance-tests --features "conformance_test"

More details on running individual tests can be found in the partiql-conformance-tests crate README.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

Dependencies

~0.7–1.2MB
~26K SLoC