Merge 'Rework io_uring feature' from Jorge López Tello

This makes io_uring the default in CLI, but makes it non-default in
core. Before, if one built CLI without io_uring, core still built with
it as it was a default feature. To accommodate for the change, all
bindings have been updated to select the feature, except for WASM which
has a separate fs implementation.
This also adds some #[cfg] and #[allow] to silence unused-* warnings,
which I discovered when testing with different features disabled.

Closes #942
This commit is contained in:
Pekka Enberg
2025-02-09 08:46:29 +02:00
11 changed files with 16 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ extension-module = ["pyo3/extension-module"]
[dependencies]
anyhow = "1.0"
limbo_core = { path = "../../core" }
limbo_core = { path = "../../core", features = ["io_uring"] }
pyo3 = { version = "0.22.4", features = ["anyhow"] }
[build-dependencies]