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

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

#37 in #crud

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
~214K SLoC