From 5f2d1897b245fbee12d17b5910eaf5233ca6802b Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 5 May 2026 23:29:39 +0200 Subject: Add unit tests in /tests directory for config, database, playback, and scrobbler modules --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0ceee6f..21614c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,9 @@ name = "rsp" version = "0.1.0" edition = "2021" +[lib] +path = "src/lib.rs" + [dependencies] clap = { version = "4.6.1", features = ["derive", "string"] } rusqlite = { version = "0.39", features = ["bundled"] } @@ -19,3 +22,6 @@ dirs = "6.0" libc = "0.2.186" ctrlc = "3.5.2" rand = "0.10.1" + +[dev-dependencies] +tempfile = "3.17" -- cgit v1.2.3