From 551a201f56cabfec6e553cfd2b784a12188d2567 Mon Sep 17 00:00:00 2001 From: GuillaumeDIDIER Date: Thu, 2 Jul 2020 15:38:39 +0200 Subject: [PATCH] Add dependecy for atomic fn types --- Cargo.lock | 7 +++++++ cache_utils/Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 3d1f6b6..d579d3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5,6 +5,11 @@ name = "arrayref" version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "atomic" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "bit_field" version = "0.9.0" @@ -32,6 +37,7 @@ dependencies = [ name = "cache_utils" version = "0.1.0" dependencies = [ + "atomic 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "cpuid 0.1.0", "itertools 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", @@ -190,6 +196,7 @@ dependencies = [ [metadata] "checksum arrayref 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" +"checksum atomic 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c210c1f4db048cda477b652d170572d84c9640695835f17663595d3bd543fc28" "checksum bit_field 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a165d606cf084741d4ac3a28fb6e9b1eb0bd31f6cd999098cfddb0b2ab381dc0" "checksum bit_field 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed8765909f9009617974ab6b7d332625b320b33c326b1e9321382ef1999b5d56" "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" diff --git a/cache_utils/Cargo.toml b/cache_utils/Cargo.toml index d0b1bde..bc8ec4b 100644 --- a/cache_utils/Cargo.toml +++ b/cache_utils/Cargo.toml @@ -13,6 +13,7 @@ cpuid = { path = "../cpuid", default-features = false } x86_64 = "0.11.0" static_assertions = "1.1.0" itertools = { version = "0.9.0", default-features = false } +atomic = {version = "0.4", features = ["nightly"]} nix = { version = "0.17.0", optional = true } libc = { version = "0.2.69", optional = true }