aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-02 13:35:56 +0100
committersalmonik <salmonik@tuta.io>2026-11-02 13:35:56 +0100
commit5dfb5b4ce521a44eb4e9173d20c58e665c78e979 (patch)
tree514508f9bef90444b867a68abfeb2ad365c44d14 /Cargo.lock
parentaudio: open the output at the track's rate instead of pw-alsa's 44100 (diff)
downloadrsplayer-5dfb5b4ce521a44eb4e9173d20c58e665c78e979.tar.gz
rsplayer-5dfb5b4ce521a44eb4e9173d20c58e665c78e979.zip
ctl: interactive shell with history, editing and completion
`rsp ctl` opens a prompt in the spirit of bluetoothctl. Lines are parsed with the same clap definitions as the one-shot CLI, so every command and flag works exactly as it does from a terminal, `help <command>` included. Tab completes subcommands, and track/album/artist paths for `play` through `db-complete` (run out of process, keeping its 100 ms timeout away from the input loop). History lives in the state directory. Piped input falls back to a plain line loop, so `rsp ctl < commands` works without a terminal.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock82
1 files changed, 82 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7a4524a..13f394e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,6 +19,7 @@ dependencies = [
19 "rand 0.10.1", 19 "rand 0.10.1",
20 "reqwest", 20 "reqwest",
21 "rusqlite", 21 "rusqlite",
22 "rustyline",
22 "serde", 23 "serde",
23 "serde_json", 24 "serde_json",
24 "symphonia", 25 "symphonia",
@@ -422,6 +423,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
422checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" 423checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
423 424
424[[package]] 425[[package]]
426name = "clipboard-win"
427version = "5.4.3"
428source = "registry+https://github.com/rust-lang/crates.io-index"
429checksum = "052af7878466feccda12ba7a6a67d019d712f296809559b47c12c8cc196d3a9a"
430dependencies = [
431 "error-code",
432]
433
434[[package]]
425name = "cmake" 435name = "cmake"
426version = "0.1.58" 436version = "0.1.58"
427source = "registry+https://github.com/rust-lang/crates.io-index" 437source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -667,6 +677,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
667checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" 677checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099"
668 678
669[[package]] 679[[package]]
680name = "endian-type"
681version = "0.2.0"
682source = "registry+https://github.com/rust-lang/crates.io-index"
683checksum = "869b0adbda23651a9c5c0c3d270aac9fcb52e8622a8f2b17e57802d7791962f2"
684
685[[package]]
670name = "enumflags2" 686name = "enumflags2"
671version = "0.7.12" 687version = "0.7.12"
672source = "registry+https://github.com/rust-lang/crates.io-index" 688source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -704,6 +720,12 @@ dependencies = [
704] 720]
705 721
706[[package]] 722[[package]]
723name = "error-code"
724version = "3.4.0"
725source = "registry+https://github.com/rust-lang/crates.io-index"
726checksum = "0b5343afd4a8365a643ac588dab4cf234a190c7f6c88c9f6dd6ffe00837661b7"
727
728[[package]]
707name = "event-listener" 729name = "event-listener"
708version = "5.4.1" 730version = "5.4.1"
709source = "registry+https://github.com/rust-lang/crates.io-index" 731source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -961,6 +983,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
961checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 983checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
962 984
963[[package]] 985[[package]]
986name = "home"
987version = "0.5.12"
988source = "registry+https://github.com/rust-lang/crates.io-index"
989checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d"
990dependencies = [
991 "windows-sys 0.61.2",
992]
993
994[[package]]
964name = "http" 995name = "http"
965version = "1.4.0" 996version = "1.4.0"
966source = "registry+https://github.com/rust-lang/crates.io-index" 997source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1459,6 +1490,15 @@ dependencies = [
1459] 1490]
1460 1491
1461[[package]] 1492[[package]]
1493name = "nibble_vec"
1494version = "0.1.0"
1495source = "registry+https://github.com/rust-lang/crates.io-index"
1496checksum = "77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43"
1497dependencies = [
1498 "smallvec",
1499]
1500
1501[[package]]
1462name = "nix" 1502name = "nix"
1463version = "0.31.2" 1503version = "0.31.2"
1464source = "registry+https://github.com/rust-lang/crates.io-index" 1504source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1861,6 +1901,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1861checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" 1901checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
1862 1902
1863[[package]] 1903[[package]]
1904name = "radix_trie"
1905version = "0.3.0"
1906source = "registry+https://github.com/rust-lang/crates.io-index"
1907checksum = "3b4431027dcd37fc2a73ef740b5f233aa805897935b8bce0195e41bbf9a3289a"
1908dependencies = [
1909 "endian-type",
1910 "nibble_vec",
1911]
1912
1913[[package]]
1864name = "rand" 1914name = "rand"
1865version = "0.9.4" 1915version = "0.9.4"
1866source = "registry+https://github.com/rust-lang/crates.io-index" 1916source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2115,6 +2165,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2115checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 2165checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2116 2166
2117[[package]] 2167[[package]]
2168name = "rustyline"
2169version = "19.0.0"
2170source = "registry+https://github.com/rust-lang/crates.io-index"
2171checksum = "56e1d6bd81c2d5feafd2419138df9183c45a10a492c4e873b8b0acb8eb2b549e"
2172dependencies = [
2173 "bitflags",
2174 "clipboard-win",
2175 "home",
2176 "libc",
2177 "log",
2178 "memchr",
2179 "nix",
2180 "radix_trie",
2181 "unicode-segmentation",
2182 "unicode-width",
2183 "utf8parse",
2184 "windows-sys 0.61.2",
2185]
2186
2187[[package]]
2118name = "ryu" 2188name = "ryu"
2119version = "1.0.23" 2189version = "1.0.23"
2120source = "registry+https://github.com/rust-lang/crates.io-index" 2190source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2843,6 +2913,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2843checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" 2913checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
2844 2914
2845[[package]] 2915[[package]]
2916name = "unicode-segmentation"
2917version = "1.13.3"
2918source = "registry+https://github.com/rust-lang/crates.io-index"
2919checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
2920
2921[[package]]
2922name = "unicode-width"
2923version = "0.2.3"
2924source = "registry+https://github.com/rust-lang/crates.io-index"
2925checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557"
2926
2927[[package]]
2846name = "unicode-xid" 2928name = "unicode-xid"
2847version = "0.2.6" 2929version = "0.2.6"
2848source = "registry+https://github.com/rust-lang/crates.io-index" 2930source = "registry+https://github.com/rust-lang/crates.io-index"