chore!: Added sqlx for database requests

This commit is contained in:
Nickiel12 2023-05-31 21:13:36 -07:00
parent 857f0771f0
commit 11e10c0f5e
3 changed files with 5 additions and 1 deletions

View file

@ -8,4 +8,4 @@ edition = "2021"
[dependencies] [dependencies]
crossterm = "0.26.1" crossterm = "0.26.1"
ratatui = "0.21.0" ratatui = "0.21.0"
rusqlite = "0.29.0" sqlx = { version = "0.6.3", features = ["postgres", "runtime-tokio-native-tls", "sqlite"] }

View file

@ -14,5 +14,9 @@
buildInputs = with pkgs; [ buildInputs = with pkgs; [
ruststable ruststable
rust-analyzer rust-analyzer
bacon
pkg-config
openssl
]; ];
} }

0
src/db.rs Normal file
View file