Skip to content

Commit dac955b

Browse files
zyfjeffjiangliu
authored andcommitted
Avoid compile tokio-uring when use default features
tokio-uring should compile only if the async-io feature is enabled Signed-off-by: zyfjeff <[email protected]>
1 parent 86a46d6 commit dac955b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ core-foundation-sys = { version = ">=0.8", optional = true }
3838

3939
[target.'cfg(target_os = "linux")'.dependencies]
4040
caps = { version = "0.5", optional = true }
41-
tokio-uring = "0.4"
41+
tokio-uring = { version = "0.4.0", optional = true }
4242

4343
[dev-dependencies]
4444
tokio-test = "0.4.2"

0 commit comments

Comments
 (0)