deps: add suppaftp and parking_lot

suppaftp 12 is the FTP client behind the put FTP fallback transport:
the maintained continuation of rust-ftp (4.2M downloads, releases this
month), used with its default features only — a plain blocking FTP
stream, no TLS, no async. It brings just lazy-regex into the tree;
chrono is shared.

parking_lot replaces std sync mutex unwrapping in test code, per the
project rule.
This commit is contained in:
2026-09-21 14:34:04 +02:00
parent 02e1f739c3
commit ac19fd9d65
2 changed files with 39 additions and 0 deletions
Generated
+37
View File
@@ -1163,6 +1163,29 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "lazy-regex"
version = "3.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4994ba703f78b083e2f7946dac9251abd83fd43a0365f030e99b69be5b4b9ef9"
dependencies = [
"lazy-regex-proc_macros",
"once_cell",
"regex",
]
[[package]]
name = "lazy-regex-proc_macros"
version = "3.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd97232314824e6dbef1918a871bb93f51070455e3715bf26e19a6d01aa977a0"
dependencies = [
"proc-macro2",
"quote",
"regex",
"syn 2.0.119",
]
[[package]]
name = "lazy_static"
version = "1.5.0"
@@ -1543,6 +1566,7 @@ dependencies = [
"libc",
"log",
"md-5",
"parking_lot",
"regex",
"reqwest",
"serde",
@@ -1552,6 +1576,7 @@ dependencies = [
"sha1",
"sha2",
"ssh2",
"suppaftp",
"tar",
"tempfile",
"test-log",
@@ -2063,6 +2088,18 @@ version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "suppaftp"
version = "12.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba93b140f4d07f1b3f3fb4d7264b2d422d5c8b4e925eb6a2646e1342d5d2070a"
dependencies = [
"chrono",
"lazy-regex",
"log",
"thiserror",
]
[[package]]
name = "syn"
version = "2.0.119"
+2
View File
@@ -35,6 +35,8 @@ gpgme = "0.11"
serde_yaml = "0.9"
lazy_static = "1.4.0"
unicode-width = "0.2"
parking_lot = "0.12"
suppaftp = "12"
[dev-dependencies]
test-log = "0.2.19"