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

app dsync-hasezoey

Generate rust structs & query functions from diesel schema files

2 unstable releases

0.2.0 Jul 9, 2023
0.1.0 Jul 6, 2023

#121 in FFI

39 downloads per month

MIT/Apache

80KB
1.5K 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–16MB
~218K SLoC