From 33b2bb3fa3931e5c04bb5ae35b6cd2ceaeb9fc2e Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Tue, 17 Mar 2026 18:37:28 -0400 Subject: [PATCH] Added the watcher --- Cargo.lock | 9 +++++++++ shanty-db | 2 +- shanty-watch | 1 + shanty-watch/Cargo.toml | 13 ------------- shanty-watch/src/lib.rs | 4 ---- shanty-watch/src/main.rs | 3 --- 6 files changed, 11 insertions(+), 21 deletions(-) create mode 160000 shanty-watch delete mode 100644 shanty-watch/Cargo.toml delete mode 100644 shanty-watch/src/lib.rs delete mode 100644 shanty-watch/src/main.rs diff --git a/Cargo.lock b/Cargo.lock index aac758f..bfe2f50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2589,11 +2589,20 @@ dependencies = [ name = "shanty-watch" version = "0.1.0" dependencies = [ + "anyhow", + "chrono", "clap", + "dirs", + "sea-orm", "serde", + "serde_json", "shanty-db", + "strsim", "thiserror", + "tokio", "tracing", + "tracing-subscriber", + "unicode-normalization", ] [[package]] diff --git a/shanty-db b/shanty-db index 2997d7e..e1b682b 160000 --- a/shanty-db +++ b/shanty-db @@ -1 +1 @@ -Subproject commit 2997d7e4f991784a8c13251db123d4586f47b1a5 +Subproject commit e1b682b0483e071631b0248184804268e2dc7f16 diff --git a/shanty-watch b/shanty-watch new file mode 160000 index 0000000..6cbca10 --- /dev/null +++ b/shanty-watch @@ -0,0 +1 @@ +Subproject commit 6cbca10f7e6ef24dc4cbac55ae36282b9554a9a8 diff --git a/shanty-watch/Cargo.toml b/shanty-watch/Cargo.toml deleted file mode 100644 index dfd4fc0..0000000 --- a/shanty-watch/Cargo.toml +++ /dev/null @@ -1,13 +0,0 @@ -[package] -name = "shanty-watch" -version.workspace = true -edition.workspace = true -license.workspace = true -description = "Library watchlist management for Shanty" - -[dependencies] -shanty-db = { path = "../shanty-db" } -clap = { workspace = true } -serde = { workspace = true } -thiserror = { workspace = true } -tracing = { workspace = true } diff --git a/shanty-watch/src/lib.rs b/shanty-watch/src/lib.rs deleted file mode 100644 index caf076c..0000000 --- a/shanty-watch/src/lib.rs +++ /dev/null @@ -1,4 +0,0 @@ -//! Library watchlist management. -//! -//! Manages the user's music library — tracking which artists, albums, and songs -//! they want, and comparing against what they already have. diff --git a/shanty-watch/src/main.rs b/shanty-watch/src/main.rs deleted file mode 100644 index b457325..0000000 --- a/shanty-watch/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("shanty-watch: library watchlist management"); -}