#diesel #generation #codegen #crud #database-schema #database

deprecated app dsync-hasezoey

Generate rust structs & query functions from diesel schema files

3 releases (breaking)

0.3.0+deprecated Aug 24, 2024
0.2.0 Jul 9, 2023
0.1.0 Jul 6, 2023

#50 in #crud

Download history 1/week @ 2024-11-17 7/week @ 2024-12-08 2/week @ 2024-12-15

114 downloads per month

MIT/Apache

87KB
2K SLoC

libdsync-hasezoey

This is a fork of Wulf's dsync with some Pull Requests merged, see Difference with original

For a library, use libdsync-hasezoey crates.io or libdsync-hasezoey github

Usage:

dsync -i src/schema.rs -o src/models -c "diesel::SqliteConnection"

All cli options can be found here or via dsync --help.

Dependencies

~5–15MB
~226K SLoC