#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

#48 in #surrealdb

Download history 14/week @ 2024-05-27 170/week @ 2024-06-10 1/week @ 2024-07-01

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.5–5MB
~83K SLoC