43 releases (15 breaking)

0.18.0 Jan 1, 2024
0.17.5 Nov 19, 2023
0.17.1 Jul 30, 2023
0.12.1 Mar 27, 2023
0.1.1 Dec 30, 2021

#1576 in Database interfaces

Download history 4/week @ 2023-12-15 1/week @ 2023-12-22 46/week @ 2023-12-29 6/week @ 2024-01-05 3/week @ 2024-01-26 39/week @ 2024-02-09 375/week @ 2024-02-16 165/week @ 2024-02-23 146/week @ 2024-03-01 28/week @ 2024-03-08 11/week @ 2024-03-15 4/week @ 2024-03-22

193 downloads per month
Used in ormlite-cli

MIT license

52KB
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–35MB
~554K SLoC