diff --git a/Cargo.toml b/Cargo.toml index bdf8070..556d941 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,4 @@ edition = "2021" [dependencies] crossterm = "0.26.1" ratatui = "0.21.0" -rusqlite = "0.29.0" +sqlx = { version = "0.6.3", features = ["postgres", "runtime-tokio-native-tls", "sqlite"] } diff --git a/shell.nix b/shell.nix index 02aeb10..d2482c8 100644 --- a/shell.nix +++ b/shell.nix @@ -14,5 +14,9 @@ buildInputs = with pkgs; [ ruststable rust-analyzer + bacon + + pkg-config + openssl ]; } diff --git a/src/db.rs b/src/db.rs new file mode 100644 index 0000000..e69de29