Skip to content

Commit 37087db

Browse files
committed
reduce tokio features
1 parent a418b2d commit 37087db

File tree

2 files changed

+1
-79
lines changed

2 files changed

+1
-79
lines changed

src/tools/miri/test_dependencies/Cargo.lock

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ version = "1.0.2"
1717
source = "registry+https://github.com/rust-lang/crates.io-index"
1818
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
1919

20-
[[package]]
21-
name = "autocfg"
22-
version = "1.3.0"
23-
source = "registry+https://github.com/rust-lang/crates.io-index"
24-
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
25-
2620
[[package]]
2721
name = "backtrace"
2822
version = "0.3.71"
@@ -50,12 +44,6 @@ version = "3.16.0"
5044
source = "registry+https://github.com/rust-lang/crates.io-index"
5145
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
5246

53-
[[package]]
54-
name = "bytes"
55-
version = "1.6.0"
56-
source = "registry+https://github.com/rust-lang/crates.io-index"
57-
checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
58-
5947
[[package]]
6048
name = "cc"
6149
version = "1.0.96"
@@ -141,16 +129,6 @@ version = "0.4.13"
141129
source = "registry+https://github.com/rust-lang/crates.io-index"
142130
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
143131

144-
[[package]]
145-
name = "lock_api"
146-
version = "0.4.12"
147-
source = "registry+https://github.com/rust-lang/crates.io-index"
148-
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
149-
dependencies = [
150-
"autocfg",
151-
"scopeguard",
152-
]
153-
154132
[[package]]
155133
name = "log"
156134
version = "0.4.21"
@@ -233,29 +211,6 @@ dependencies = [
233211
"winapi",
234212
]
235213

236-
[[package]]
237-
name = "parking_lot"
238-
version = "0.12.2"
239-
source = "registry+https://github.com/rust-lang/crates.io-index"
240-
checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
241-
dependencies = [
242-
"lock_api",
243-
"parking_lot_core",
244-
]
245-
246-
[[package]]
247-
name = "parking_lot_core"
248-
version = "0.9.10"
249-
source = "registry+https://github.com/rust-lang/crates.io-index"
250-
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
251-
dependencies = [
252-
"cfg-if",
253-
"libc",
254-
"redox_syscall",
255-
"smallvec",
256-
"windows-targets 0.52.5",
257-
]
258-
259214
[[package]]
260215
name = "pin-project-lite"
261216
version = "0.2.14"
@@ -316,15 +271,6 @@ dependencies = [
316271
"getrandom 0.2.14",
317272
]
318273

319-
[[package]]
320-
name = "redox_syscall"
321-
version = "0.5.1"
322-
source = "registry+https://github.com/rust-lang/crates.io-index"
323-
checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
324-
dependencies = [
325-
"bitflags",
326-
]
327-
328274
[[package]]
329275
name = "rustc-demangle"
330276
version = "0.1.23"
@@ -344,27 +290,6 @@ dependencies = [
344290
"windows-sys 0.52.0",
345291
]
346292

347-
[[package]]
348-
name = "scopeguard"
349-
version = "1.2.0"
350-
source = "registry+https://github.com/rust-lang/crates.io-index"
351-
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
352-
353-
[[package]]
354-
name = "signal-hook-registry"
355-
version = "1.4.2"
356-
source = "registry+https://github.com/rust-lang/crates.io-index"
357-
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
358-
dependencies = [
359-
"libc",
360-
]
361-
362-
[[package]]
363-
name = "smallvec"
364-
version = "1.13.2"
365-
source = "registry+https://github.com/rust-lang/crates.io-index"
366-
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
367-
368293
[[package]]
369294
name = "socket2"
370295
version = "0.5.7"
@@ -405,13 +330,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
405330
checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787"
406331
dependencies = [
407332
"backtrace",
408-
"bytes",
409333
"libc",
410334
"mio",
411335
"num_cpus",
412-
"parking_lot",
413336
"pin-project-lite",
414-
"signal-hook-registry",
415337
"socket2",
416338
"tokio-macros",
417339
"windows-sys 0.48.0",

src/tools/miri/test_dependencies/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rand = { version = "0.8", features = ["small_rng"] }
1919

2020
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
2121
page_size = "0.6"
22-
tokio = { version = "1.24", features = ["full"] }
22+
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net"] }
2323

2424
[target.'cfg(windows)'.dependencies]
2525
windows-sys = { version = "0.52", features = [ "Win32_Foundation", "Win32_System_Threading" ] }

0 commit comments

Comments
 (0)