38 releases (14 breaking)

0.17.1 Jul 30, 2023
0.16.0 Jul 12, 2023
0.12.1 Mar 27, 2023
0.7.0 Dec 29, 2022
0.1.1 Dec 30, 2021

#1358 in Database interfaces

Download history 49/week @ 2023-06-09 71/week @ 2023-06-16 13/week @ 2023-06-23 104/week @ 2023-06-30 145/week @ 2023-07-07 48/week @ 2023-07-14 56/week @ 2023-07-21 61/week @ 2023-07-28 52/week @ 2023-08-04 16/week @ 2023-08-11 50/week @ 2023-08-18 53/week @ 2023-08-25 11/week @ 2023-09-01 122/week @ 2023-09-08 33/week @ 2023-09-15 25/week @ 2023-09-22

193 downloads per month
Used in ormlite-cli

MIT license

50KB
1K SLoC

Development

Run the derive model code:

cargo run --bin simple --features runtime-tokio-rustls,sqlite

Run test code:

cargo test --features runtime-tokio-rustls,sqlite

Run tests themselves

Workflow

Try to build and compile using the derive macros.

just run --bin plain

Copy and paste into expanded.rs if you need to see details about the expanded code.

cargo expand --bin plain | pbcopy

Dependencies

~16–59MB
~1M SLoC