From 22ef77fc92bd79975ba88e10e52711083a0849e9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 23 Aug 2020 00:43:33 +0100 Subject: [PATCH] nix and fs2 --- Cargo.lock.example | 30 ++++++++++++++++++++++++++++++ Cargo.toml | 3 +++ 2 files changed, 33 insertions(+) diff --git a/Cargo.lock.example b/Cargo.lock.example index 1d4a7a96..ca9689e4 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -186,6 +186,12 @@ version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" +[[package]] +name = "cc" +version = "1.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518" + [[package]] name = "cfg-if" version = "0.1.10" @@ -365,6 +371,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi 0.3.9", +] + [[package]] name = "fsevent" version = "0.4.0" @@ -408,11 +424,13 @@ dependencies = [ "argparse", "failure", "fehler", + "fs2", "htmlescape", "index_vec", "inventory", "lazy_static", "libc", + "nix", "num-traits", "percent-encoding 2.1.0", "pwd", @@ -793,6 +811,18 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "nix" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83450fe6a6142ddd95fb064b746083fc4ef1705fe81f64a64e1d4b39f54a1055" +dependencies = [ + "bitflags", + "cc", + "cfg-if", + "libc", +] + [[package]] name = "notify" version = "4.0.15" diff --git a/Cargo.toml b/Cargo.toml index 4feef4e4..f673b686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,9 @@ uds = "0" pwd = "1" failure = "0.1.8" # for pwd +fs2 = "0.4" +nix = "0.18" + libc = "0.2" toml = "0.5" -- 2.30.2