Skip to content

Commit ac802b3

Browse files
feat: support proper IOURING management directly
1 parent 7aea32c commit ac802b3

File tree

6 files changed

+259
-390
lines changed

6 files changed

+259
-390
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lightway-app-utils/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ readme = "README.md"
1111

1212
[features]
1313
default = [ "tokio" ]
14-
io-uring = [ "dep:io-uring", "dep:tokio", "dep:tokio-eventfd" ]
14+
io-uring = [ "dep:io-uring", "dep:tokio", "dep:tokio-eventfd", "dep:parking_lot" ]
15+
iouring-bufsize = [ "io-uring" ]
1516
tokio = [ "dep:tokio", "dep:tokio-stream" ]
1617

1718
[lints]
@@ -28,6 +29,7 @@ ipnet.workspace = true
2829
libc.workspace = true
2930
lightway-core.workspace = true
3031
metrics.workspace = true
32+
parking_lot = { version = "0.12.3", optional = true }
3133
serde.workspace = true
3234
serde_with = "3.4.0"
3335
serde_yaml = "0.9.34"

0 commit comments

Comments
 (0)