#query-builder #surrealdb #builder #query

macro surreal-simple-querybuilder-proc-macro

The proc macro for a query-building & utility crate for SurrealDB and its SQL querying language that aims to be simple

6 releases (breaking)

0.8.0 Feb 22, 2024
0.7.0 May 31, 2023
0.6.0 Mar 16, 2023
0.5.0 Mar 4, 2023
0.1.0 Oct 11, 2022

#47 in #surrealdb

Download history 19/week @ 2024-09-23 5/week @ 2024-09-30

97 downloads per month
Used in 2 crates (via surreal-simple-querybuild…)

MIT license

130KB
3.5K SLoC

Building the parser.rs file

In order to generate a parser.rs file from the parser.lalrpop file, you can install lalrpop using cargo install:

cargo install lalrpop

then run the following command, or use the make-parser.sh script:

lalrpop src/parser.lalrpop

Dependencies

~2.7–5MB
~84K SLoC