5 releases
0.4.3 | Nov 28, 2019 |
---|---|
0.4.2 | Nov 28, 2019 |
0.4.1 | Nov 28, 2019 |
0.4.0 | Nov 27, 2019 |
0.3.0 | Nov 22, 2019 |
#281 in #rest
31KB
688 lines
rsql-rs
The crate name has been changed to rsql
, please be notified
A simple RSQL/FIQL parser written in Rust and Pest
Features
- Decode FIQL/RSQL query into AST
- Basic parsing test
- Encode AST into FIQL/RSQL query
- Better error system
- Register own
Comparison
s
About RSQL/FIQL
RSQL is a query language for REST APIs. It’s based on FIQL (Feed Item Query Language) – an URI-friendly syntax for expressing filters across the entries in an Atom Feed. FIQL is great for use in URI's. there are no unsafe characters, so URL encoding is not required. On the other side, FIQL’s syntax is not very intuitive and URL encoding isn't necessarily a bad thing, so RSQL also provides a friendlier syntax for logical operators and some of the comparison operators.
Dependencies
~6–15MB
~185K SLoC