From a84250de697e3014fb0c6f6ef0d27e20cad14644 Mon Sep 17 00:00:00 2001 From: Michael Baikov Date: Mon, 23 Sep 2024 20:32:20 -0400 Subject: [PATCH] Explicitly enable all the featuers as far as rust-analyzer is concerned --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3166649ee7..98894a57bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,6 +77,11 @@ parking_lot = "0.12" rand = "0.8" tempfile = "3.7.1" semver = "1.0.7" +nix = { path = ".", features = ["acct", "aio", "dir", "env", "event", "fanotify", + "feature", "fs", "hostname", "inotify", "ioctl", "kmod", "mman", "mount", "mqueue", + "net", "personality", "poll", "pthread", "ptrace", "quota", "process", "reboot", + "resource", "sched", "signal", "socket", "term", "time", "ucontext", "uio", + "user", "zerocopy"] } [target.'cfg(any(target_os = "android", target_os = "linux"))'.dev-dependencies] caps = "0.5.3"