Improve handling of io-uring features
This commit is contained in:
parent
0e10447b02
commit
ffda03e9c5
1 changed files with 13 additions and 3 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -16,8 +16,6 @@ icu = { version = "1.5.0", features = [
|
||||||
"compiled_data",
|
"compiled_data",
|
||||||
"icu_datetime_experimental",
|
"icu_datetime_experimental",
|
||||||
] }
|
] }
|
||||||
# Completion-based IO runtime to enable io_uring / IOCP file IO support.
|
|
||||||
compio = { version = "0.14.0", features = ["io", "macros", "runtime"] }
|
|
||||||
cosmic-mime-apps = { git = "https://github.com/pop-os/cosmic-mime-apps.git", optional = true }
|
cosmic-mime-apps = { git = "https://github.com/pop-os/cosmic-mime-apps.git", optional = true }
|
||||||
dirs = "6.0.0"
|
dirs = "6.0.0"
|
||||||
env_logger = "0.11"
|
env_logger = "0.11"
|
||||||
|
|
@ -68,7 +66,17 @@ recently-used-xbel = "1.1.0"
|
||||||
zip = "2.2.2"
|
zip = "2.2.2"
|
||||||
unix_permissions_ext = "0.1.2"
|
unix_permissions_ext = "0.1.2"
|
||||||
uzers = "0.12.1"
|
uzers = "0.12.1"
|
||||||
io-uring = { version = "0.7.6", features = ["bindgen"], optional = true }
|
|
||||||
|
# Completion-based IO runtime to enable io_uring / IOCP file IO support.
|
||||||
|
[dependencies.compio]
|
||||||
|
version = "0.14.0"
|
||||||
|
default-features = false
|
||||||
|
features = ["io", "macros", "polling", "runtime"]
|
||||||
|
|
||||||
|
[dependencies.io-uring]
|
||||||
|
version = "0.7.6"
|
||||||
|
default-features = false
|
||||||
|
optional = true
|
||||||
|
|
||||||
[dependencies.libcosmic]
|
[dependencies.libcosmic]
|
||||||
git = "https://github.com/pop-os/libcosmic.git"
|
git = "https://github.com/pop-os/libcosmic.git"
|
||||||
|
|
@ -90,6 +98,8 @@ default = [
|
||||||
dbus-config = ["libcosmic/dbus-config"]
|
dbus-config = ["libcosmic/dbus-config"]
|
||||||
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
|
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
|
||||||
gvfs = ["dep:gio", "dep:glib"]
|
gvfs = ["dep:gio", "dep:glib"]
|
||||||
|
io-uring = ["compio/io-uring", "dep:io-uring"]
|
||||||
|
io-uring-bindgen = ["io-uring?/bindgen"]
|
||||||
jemalloc = ["dep:tikv-jemallocator"]
|
jemalloc = ["dep:tikv-jemallocator"]
|
||||||
notify = ["dep:notify-rust"]
|
notify = ["dep:notify-rust"]
|
||||||
wayland = ["libcosmic/wayland", "dep:wayland-client"]
|
wayland = ["libcosmic/wayland", "dep:wayland-client"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue