DEPRECATED: Welds - CLI
The welds-cli tool has been deprecated in favor of the cli tool Gumbo. This cli is much better maintains and serves the same purpose.
Welds is an ORM for Rust.
This crate is a command line tool to help you use welds.
It is used to generate rust code for your struct definitions.
You point it at your database and out comes a bunch of rust files for all the tables in your database.
Install
How to use
- Set a connection string to your database using the ENV DATABASE_URL
- use the welds-cli to create a
welds.yamldatabase definition file.
- use the welds-cli to generate rust code.