Skip to content

Commit 7f92bc9

Browse files
authored
Merge pull request #249 from Berrysoft/fix/feature-names
fix: feature typo
2 parents 62a3a9e + 642bbb8 commit 7f92bc9

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

.github/workflows/ci_check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- name: Setup Rust Toolchain
2727
run: |
28-
rustup toolchain install nightly
29-
rustup +nightly component add clippy
28+
rustup default nightly
29+
rustup component add clippy
3030
- name: Check clippy
3131
run: |
32-
cargo +nightly clippy --all-features --all-targets -- -Dwarnings
32+
cargo clippy --all-features --all-targets -- -Dwarnings
3333
- name: Check Docs
3434
run: |
35-
cargo +nightly doc --workspace --all-features --no-deps
35+
cargo doc --workspace --all-features --no-deps

compio-driver/src/fusion/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ mod driver_type {
8787
Shutdown::CODE,
8888
// Linux kernel 5.19
8989
#[cfg(any(
90-
feature = "io-uring-seq128",
90+
feature = "io-uring-sqe128",
9191
feature = "io-uring-cqe32",
9292
feature = "io-uring-socket"
9393
))]

compio-fs/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ nix = { workspace = true, features = ["fs"] }
6060

6161
[features]
6262
default = []
63+
io-uring = ["compio-driver/io-uring"]
6364

6465
read_buf = ["compio-buf/read_buf", "compio-io/read_buf"]
6566
windows_by_handle = []

compio-net/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ libc = { workspace = true }
4141
compio-macros = { workspace = true }
4242
futures-util = { workspace = true }
4343
tempfile = { workspace = true }
44+
45+
[features]
46+
default = []
47+
io-uring = ["compio-driver/io-uring"]

compio/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ monoio = { version = "0.2.2", default-features = false, features = ["iouring"] }
7575

7676
[features]
7777
default = ["runtime", "io-uring"]
78-
io-uring = ["compio-driver/io-uring"]
78+
io-uring = [
79+
"compio-driver/io-uring",
80+
"compio-fs?/io-uring",
81+
"compio-net?/io-uring",
82+
]
7983
polling = ["compio-driver/polling"]
8084
io = ["dep:compio-io"]
8185
io-compat = ["io", "compio-io/compat"]

0 commit comments

Comments
 (0)