2019-12-22 15:24:21 +01:00
|
|
|
[package]
|
2020-02-05 10:23:52 +01:00
|
|
|
name = "cache_utils"
|
2019-12-22 15:24:21 +01:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["guillaume didier <guillaume.didier@inria.fr>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2020-03-09 14:27:32 +01:00
|
|
|
polling_serial = { path = "../polling_serial", optional = true }
|
|
|
|
vga_buffer = { path = "../vga_buffer", optional = true }
|
2020-05-28 10:01:22 +02:00
|
|
|
cpuid = { path = "../cpuid", default-features = false }
|
2020-05-29 16:26:53 +02:00
|
|
|
x86_64 = "0.11.0"
|
2020-03-09 14:27:32 +01:00
|
|
|
static_assertions = "1.1.0"
|
2020-04-01 16:12:15 +02:00
|
|
|
itertools = { version = "0.9.0", default-features = false }
|
2020-07-02 15:38:39 +02:00
|
|
|
atomic = {version = "0.4", features = ["nightly"]}
|
2020-03-09 14:27:32 +01:00
|
|
|
|
|
|
|
nix = { version = "0.17.0", optional = true }
|
2020-05-11 17:04:33 +02:00
|
|
|
libc = { version = "0.2.69", optional = true }
|
2020-04-01 16:12:15 +02:00
|
|
|
|
2020-03-09 14:27:32 +01:00
|
|
|
[features]
|
2020-05-28 10:01:22 +02:00
|
|
|
use_std = ["nix", "itertools/use_std", "libc", "cpuid/use_std"]
|
2020-03-09 14:27:32 +01:00
|
|
|
no_std = ["polling_serial", "vga_buffer"]
|
|
|
|
|
2020-05-28 10:01:22 +02:00
|
|
|
default = ["use_std"]
|
2020-03-09 14:36:55 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cache_utils"
|
2020-05-28 10:01:22 +02:00
|
|
|
required-features = ["use_std"]
|