32 lines
970 B
TOML
32 lines
970 B
TOML
[package]
|
|
name = "cache_utils"
|
|
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]
|
|
polling_serial = { path = "../polling_serial", optional = true }
|
|
vga_buffer = { path = "../vga_buffer", optional = true }
|
|
cpuid = { path = "../cpuid", default-features = false }
|
|
x86_64 = "0.14.1"
|
|
static_assertions = "1.1.0"
|
|
itertools = { version = "0.10.0", default-features = false }
|
|
atomic = "0.5.0"
|
|
|
|
nix = { version = "0.20.0", optional = true }
|
|
libc = { version = "0.2.92", optional = true }
|
|
hashbrown = { version = "0.11.2", optional = true }
|
|
turn_lock = { path = "../turn_lock", optional = true}
|
|
|
|
[features]
|
|
use_std = ["nix", "itertools/use_std", "libc", "cpuid/use_std", "turn_lock"]
|
|
no_std = ["polling_serial", "vga_buffer", "hashbrown"]
|
|
|
|
default = ["use_std"]
|
|
|
|
[[bin]]
|
|
name = "cache_utils"
|
|
required-features = ["use_std"]
|