diff --git a/core/Cargo.toml b/core/Cargo.toml index 0aab086b4..c0c579152 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -14,7 +14,7 @@ name = "limbo_core" path = "lib.rs" [features] -default = ["fs", "json", "uuid"] +default = ["fs", "json", "uuid", "io_uring"] fs = [] json = [ "dep:jsonb", @@ -22,11 +22,12 @@ json = [ "dep:pest_derive", ] uuid = ["dep:uuid"] +io_uring = ["dep:io-uring"] [target.'cfg(target_os = "linux")'.dependencies] -io-uring = "0.6.1" +io-uring = { version = "0.6.1", optional = true } -[target.'cfg(target_os = "macos")'.dependencies] +[target.'cfg(target_family = "unix")'.dependencies] polling = "3.7.2" rustix = "0.38.34"