From 3fb892b20144e0fb3a705e77e3de9b64480b5086 Mon Sep 17 00:00:00 2001 From: htkhiem <42716602+htkhiem@users.noreply.github.com> Date: Sat, 23 Aug 2025 09:42:42 +0700 Subject: [PATCH] Replace submodule with git crate dependency --- .gitmodules | 3 --- Cargo.lock | 1 + Cargo.toml | 2 +- rust-mpd | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) delete mode 160000 rust-mpd diff --git a/.gitmodules b/.gitmodules index 8ede99a..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "rust-mpd"] - path = rust-mpd - url = https://github.com/htkhiem/rust-mpd.git diff --git a/Cargo.lock b/Cargo.lock index 0dbb023..c4cdb1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2716,6 +2716,7 @@ dependencies = [ [[package]] name = "mpd" version = "0.1.0" +source = "git+https://github.com/htkhiem/rust-mpd.git#037d9a213b4a8dc2ead74b3f44d53351ddff67a2" dependencies = [ "bufstream", "fxhash", diff --git a/Cargo.toml b/Cargo.toml index f91295a..baaf056 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.30" gettext-rs = { version = "0.7", features = ["gettext-system"] } image = "0.25.1" librsvg = "2.58.1" -mpd = { path = "./rust-mpd" } +mpd = { git = "https://github.com/htkhiem/rust-mpd.git" } once_cell = "1.19.0" time = { version = "0.3.36", features = ["formatting"] } reqwest = { version = "0.12.5", features = ["blocking", "json"] }