#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

#40 in #surrealdb

Download history 114/week @ 2024-02-19 31/week @ 2024-02-26 1/week @ 2024-03-04 11/week @ 2024-03-11 64/week @ 2024-03-25 24/week @ 2024-04-01 9/week @ 2024-04-22 8/week @ 2024-05-06 21/week @ 2024-05-13 24/week @ 2024-05-20 14/week @ 2024-05-27

67 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–5.5MB
~84K SLoC