Make io-uring optional (fixes redox build)
This commit is contained in:
parent
3beda45a6f
commit
697f89e785
1 changed files with 2 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ recently-used-xbel = "1.1.0"
|
|||
zip = "2.2.2"
|
||||
unix_permissions_ext = "0.1.2"
|
||||
uzers = "0.12.1"
|
||||
io-uring = "0.7.4"
|
||||
io-uring = { version = "0.7.4", features = ["bindgen"], optional = true }
|
||||
|
||||
[dependencies.libcosmic]
|
||||
git = "https://github.com/pop-os/libcosmic.git"
|
||||
|
|
@ -78,16 +78,15 @@ features = ["multi-window", "tokio", "winit", "surface-message"]
|
|||
|
||||
[features]
|
||||
default = [
|
||||
"bindgen",
|
||||
"bzip2",
|
||||
"dbus-config",
|
||||
"desktop",
|
||||
"gvfs",
|
||||
"io-uring",
|
||||
"notify",
|
||||
"wgpu",
|
||||
"xz2",
|
||||
]
|
||||
bindgen = ["io-uring/bindgen"]
|
||||
dbus-config = ["libcosmic/dbus-config"]
|
||||
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
|
||||
gvfs = ["dep:gio", "dep:glib"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue