Skip to content

Commit

Permalink
fix: feature typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed May 9, 2024
1 parent 62a3a9e commit c2bc5d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compio-driver/src/fusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ mod driver_type {
Shutdown::CODE,
// Linux kernel 5.19
#[cfg(any(
feature = "io-uring-seq128",
feature = "io-uring-sqe128",
feature = "io-uring-cqe32",
feature = "io-uring-socket"
))]
Expand Down
4 changes: 4 additions & 0 deletions compio-net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ libc = { workspace = true }
compio-macros = { workspace = true }
futures-util = { workspace = true }
tempfile = { workspace = true }

[features]
default = []
io-uring = ["compio-driver/io-uring"]
2 changes: 1 addition & 1 deletion compio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ monoio = { version = "0.2.2", default-features = false, features = ["iouring"] }

[features]
default = ["runtime", "io-uring"]
io-uring = ["compio-driver/io-uring"]
io-uring = ["compio-driver/io-uring", "compio-net?/io-uring"]
polling = ["compio-driver/polling"]
io = ["dep:compio-io"]
io-compat = ["io", "compio-io/compat"]
Expand Down

0 comments on commit c2bc5d0

Please sign in to comment.