@@ -21,7 +21,7 @@ rust-version = "1.63"
2121os_pipe = { version = " 1.0.0" , features = [" io_safety" ], optional = true }
2222
2323# Optionally depend on async-std just to provide impls for its types.
24- async-std = { version = " 1.12 .0" , optional = true }
24+ async-std = { version = " 1.13 .0" , optional = true , features = [ " io_safety " ] }
2525# Optionally depend on tokio to implement traits for its types.
2626tokio = { version = " 1.6.0" , features = [" io-std" , " fs" , " net" , " process" ], optional = true }
2727# Optionally depend on socket2 to implement traits for its types.
@@ -30,13 +30,13 @@ socket2 = { version = "0.5.0", optional = true }
3030mio = { version = " 0.8.0" , features = [" net" , " os-ext" ], optional = true }
3131
3232[target .'cfg(target_os = "hermit")' .dependencies ]
33- hermit-abi = { version = " 0.3" , optional = true }
33+ hermit-abi = { version = " >= 0.3, <=0.4 " , optional = true }
3434
3535[target .'cfg(not(windows))' .dependencies ]
3636libc = { version = " 0.2.96" , optional = true }
3737
3838[target .'cfg(windows)' .dependencies .windows-sys ]
39- version = " 0.52.0 "
39+ version = " >= 0.52, <=0.59 "
4040optional = true
4141features = [
4242 " Win32_Foundation" ,
@@ -48,8 +48,13 @@ features = [
4848
4949[package .metadata .docs .rs ]
5050features = [" close" ]
51- rustdoc-args = [" --cfg" , " doc_cfg" ]
5251
5352[features ]
5453default = []
5554close = [" libc" , " hermit-abi" , " windows-sys" ]
55+
56+ [lints .rust .unexpected_cfgs ]
57+ level = " warn"
58+ check-cfg = [
59+ ' cfg(wasi_ext)' ,
60+ ]
0 commit comments