Check torrent type

This commit is contained in:
2025-06-13 17:45:10 +03:00
parent 5cfdf1f173
commit f101dd7539
4 changed files with 76 additions and 6 deletions
Generated
+37
View File
@@ -52,6 +52,16 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "bt_bencode"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6398febbe0d54acd58256692c7d0608c0f49741ec830af6918129d6348f5c4bd"
dependencies = [
"itoa",
"serde",
]
[[package]]
name = "clap"
version = "4.5.39"
@@ -110,6 +120,12 @@ version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
[[package]]
name = "itoa"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "once_cell_polyfill"
version = "1.70.1"
@@ -143,6 +159,26 @@ dependencies = [
"winapi-util",
]
[[package]]
name = "serde"
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "strsim"
version = "0.11.1"
@@ -164,6 +200,7 @@ dependencies = [
name = "transmission-torrent-loader"
version = "0.1.0"
dependencies = [
"bt_bencode",
"clap",
"walkdir",
]