Adding sqlx library as a dependency

Run this command in a terminal, in your project's directory:

cargo add sqlx

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

sqlx = "0.9.0-alpha.1"

The sqlx library will be automatically available globally. Read the sqlx library documentation.

Back to the crate overview.