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-27 14:00:19 +02:00
|
|
|
cpuid = { path = "../cpuid" }
|
2020-02-19 15:08:24 +01:00
|
|
|
x86_64 = "0.9.2"
|
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-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-11 17:04:33 +02:00
|
|
|
std = ["nix", "itertools/use_std", "libc"]
|
2020-03-09 14:27:32 +01:00
|
|
|
no_std = ["polling_serial", "vga_buffer"]
|
|
|
|
|
|
|
|
default = ["std"]
|
2020-03-09 14:36:55 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cache_utils"
|
|
|
|
required-features = ["std"]
|