4 releases (2 breaking)

new 0.4.1 May 25, 2023
0.4.0 May 25, 2023
0.3.0 Apr 11, 2023
0.2.0 Jan 10, 2023

#8 in #interpreters

Download history 25/week @ 2023-02-03 16/week @ 2023-02-10 30/week @ 2023-02-17 4/week @ 2023-02-24 16/week @ 2023-03-03 4/week @ 2023-03-10 11/week @ 2023-03-17 2/week @ 2023-03-24 9/week @ 2023-03-31 45/week @ 2023-04-07 9/week @ 2023-04-14 60/week @ 2023-04-21 41/week @ 2023-04-28 27/week @ 2023-05-05 29/week @ 2023-05-12 25/week @ 2023-05-19

124 downloads per month
Used in 7 crates

Apache-2.0

94KB
2.5K SLoC

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

~11MB
~229K SLoC