Rocket/examples/databases
Sergio Benitez 5b1a04deab Introduce async database pools: 'rocket_db_pools'.
This is the async analog of 'rocket_sync_db_pools', rewritten to be
cleaner, leaner, easier to maintain and extend, and better documented.

Resolves #1117.
Resolves #1187.
2021-07-18 12:17:17 -07:00
..
db Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00
src Introduce async database pools: 'rocket_db_pools'. 2021-07-18 12:17:17 -07:00
Cargo.toml Initial implementation of async DB pooling. 2021-07-18 12:14:25 -07:00
README.md Add README to databases example. 2021-07-12 16:45:56 -07:00
Rocket.toml Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00
sqlx-data.json Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00

README.md

Databases Example

This example makes use of SQLite. You'll need sqlite3 and its development headers installed:

  • macOS: brew install sqlite
  • Debian, Ubuntu: apt-get install libsqlite3-dev
  • Arch: pacman -S sqlite