This is an example of using SQLx with SQLite. It doesn't do too much, but it you can see a simple example of how to setup your project to use the two together.
You will need Rust, SQLite(if your operating system does not already have it) and the SQLx CLI. Once installed, navigate to this cloned project in the terminal and run:
cargo run
This project simply adds "John Doe" to an example.db
file. You can see the additions using the SQLite app of your choice and checking the Users
table.
SELECT * FROM Users;