Skip to content

Commit

Permalink
Merge pull request #249 from Berrysoft/fix/feature-names
Browse files Browse the repository at this point in the history
fix: feature typo
  • Loading branch information
Berrysoft authored May 9, 2024
2 parents 62a3a9e + 642bbb8 commit 7f92bc9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Rust Toolchain
run: |
rustup toolchain install nightly
rustup +nightly component add clippy
rustup default nightly
rustup component add clippy
- name: Check clippy
run: |
cargo +nightly clippy --all-features --all-targets -- -Dwarnings
cargo clippy --all-features --all-targets -- -Dwarnings
- name: Check Docs
run: |
cargo +nightly doc --workspace --all-features --no-deps
cargo doc --workspace --all-features --no-deps
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
1 change: 1 addition & 0 deletions compio-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ nix = { workspace = true, features = ["fs"] }

[features]
default = []
io-uring = ["compio-driver/io-uring"]

read_buf = ["compio-buf/read_buf", "compio-io/read_buf"]
windows_by_handle = []
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"]
6 changes: 5 additions & 1 deletion compio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ 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-fs?/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 7f92bc9

Please sign in to comment.