feat(torrent): add torrent toggle

Switch between Stopped and Running torrent states
This commit is contained in:
Kristofers Solo
2024-01-30 18:12:04 +02:00
parent 917251d655
commit c199325d50
7 changed files with 45 additions and 7 deletions

13
Cargo.lock generated
View File

@@ -911,9 +911,21 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
dependencies = [
"cfg-if",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-attributes"
version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.31",
]
[[package]]
name = "tracing-core"
version = "0.1.31"
@@ -944,6 +956,7 @@ dependencies = [
"crossterm",
"ratatui",
"tokio",
"tracing",
"transmission-rpc",
"url",
]