deps: trim the tokio feature set to the APIs in use

The runtime (multi-thread, for Runtime::new + block_on and task
spawning), time (retries, timeouts), sync (channels) and macros
(#[tokio::test]) cover every tokio:: path in the tree; 'full' also
pulled fs, io, net and process support nothing uses. Cargo.lock loses
the corresponding mio/signal deps if nothing else needs them.
This commit is contained in:
2026-10-03 02:17:22 +02:00
parent 4d59890d5a
commit 9004a33bae
2 changed files with 1 additions and 3 deletions
Generated
-2
View File
@@ -2241,9 +2241,7 @@ dependencies = [
"bytes 1.12.1",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"tokio-macros",
"windows-sys 0.61.2",
+1 -1
View File
@@ -19,7 +19,7 @@ reqwest = { version = "0.12.9", features = ["blocking", "json", "stream"] }
git2 = "0.20.2"
regex = "1"
chrono = "0.4"
tokio = { version = "1.41.1", features = ["full"] }
tokio = { version = "1.41.1", features = ["rt-multi-thread", "macros", "time", "sync"] }
sha2 = "0.10.8"
sha1 = "0.10"
md-5 = "0.10"