Improve handling of io-uring features

This commit is contained in:
Jeremy Soller 2025-05-05 09:07:33 -06:00
parent 0e10447b02
commit ffda03e9c5
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -16,8 +16,6 @@ icu = { version = "1.5.0", features = [
"compiled_data",
"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 }
dirs = "6.0.0"
env_logger = "0.11"
@ -68,7 +66,17 @@ recently-used-xbel = "1.1.0"
zip = "2.2.2"
unix_permissions_ext = "0.1.2"
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]
git = "https://github.com/pop-os/libcosmic.git"
@ -90,6 +98,8 @@ default = [
dbus-config = ["libcosmic/dbus-config"]
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
gvfs = ["dep:gio", "dep:glib"]
io-uring = ["compio/io-uring", "dep:io-uring"]
io-uring-bindgen = ["io-uring?/bindgen"]
jemalloc = ["dep:tikv-jemallocator"]
notify = ["dep:notify-rust"]
wayland = ["libcosmic/wayland", "dep:wayland-client"]