#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

#36 in #surrealdb

Download history 1/week @ 2024-02-15 130/week @ 2024-02-22 15/week @ 2024-02-29 4/week @ 2024-03-07 7/week @ 2024-03-14

156 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
~81K SLoC