Skip to content

Commit 697f89e

Browse files
committed
Make io-uring optional (fixes redox build)
1 parent 3beda45 commit 697f89e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ recently-used-xbel = "1.1.0"
6868
zip = "2.2.2"
6969
unix_permissions_ext = "0.1.2"
7070
uzers = "0.12.1"
71-
io-uring = "0.7.4"
71+
io-uring = { version = "0.7.4", features = ["bindgen"], optional = true }
7272

7373
[dependencies.libcosmic]
7474
git = "https://github.com/pop-os/libcosmic.git"
@@ -78,16 +78,15 @@ features = ["multi-window", "tokio", "winit", "surface-message"]
7878

7979
[features]
8080
default = [
81-
"bindgen",
8281
"bzip2",
8382
"dbus-config",
8483
"desktop",
8584
"gvfs",
85+
"io-uring",
8686
"notify",
8787
"wgpu",
8888
"xz2",
8989
]
90-
bindgen = ["io-uring/bindgen"]
9190
dbus-config = ["libcosmic/dbus-config"]
9291
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
9392
gvfs = ["dep:gio", "dep:glib"]

0 commit comments

Comments
 (0)