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:
Generated
-2
@@ -2241,9 +2241,7 @@ dependencies = [
|
|||||||
"bytes 1.12.1",
|
"bytes 1.12.1",
|
||||||
"libc",
|
"libc",
|
||||||
"mio",
|
"mio",
|
||||||
"parking_lot",
|
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"signal-hook-registry",
|
|
||||||
"socket2",
|
"socket2",
|
||||||
"tokio-macros",
|
"tokio-macros",
|
||||||
"windows-sys 0.61.2",
|
"windows-sys 0.61.2",
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ reqwest = { version = "0.12.9", features = ["blocking", "json", "stream"] }
|
|||||||
git2 = "0.20.2"
|
git2 = "0.20.2"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
chrono = "0.4"
|
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"
|
sha2 = "0.10.8"
|
||||||
sha1 = "0.10"
|
sha1 = "0.10"
|
||||||
md-5 = "0.10"
|
md-5 = "0.10"
|
||||||
|
|||||||
Reference in New Issue
Block a user