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"
|
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 = "0.7.4"
|
io-uring = { version = "0.7.4", features = ["bindgen"], optional = true }
|
||||||
|
|
||||||
[dependencies.libcosmic]
|
[dependencies.libcosmic]
|
||||||
git = "https://github.com/pop-os/libcosmic.git"
|
git = "https://github.com/pop-os/libcosmic.git"
|
||||||
|
|
@ -78,16 +78,15 @@ features = ["multi-window", "tokio", "winit", "surface-message"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [
|
default = [
|
||||||
"bindgen",
|
|
||||||
"bzip2",
|
"bzip2",
|
||||||
"dbus-config",
|
"dbus-config",
|
||||||
"desktop",
|
"desktop",
|
||||||
"gvfs",
|
"gvfs",
|
||||||
|
"io-uring",
|
||||||
"notify",
|
"notify",
|
||||||
"wgpu",
|
"wgpu",
|
||||||
"xz2",
|
"xz2",
|
||||||
]
|
]
|
||||||
bindgen = ["io-uring/bindgen"]
|
|
||||||
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"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue