35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "cache_utils"
|
|
version = "0.1.0"
|
|
authors = ["Guillaume DIDIER <guillaume.didier.2014@polytechnique.org>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
# 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.15.1"
|
|
static_assertions = "1.1.0"
|
|
itertools = { version = "0.12.1", default-features = false }
|
|
atomic = "0.6.0"
|
|
|
|
nix = { version = "0.28.0", optional = true, features = ["process", "mman", "sched"] }
|
|
libc = { version = "0.2.153", optional = true }
|
|
hashbrown = { version = "0.11.2", optional = true }
|
|
turn_lock = { path = "../turn_lock", optional = true}
|
|
lazy_static = "1.4.0"
|
|
bitvec = { version = "0.22.3", optional = true }
|
|
|
|
[features]
|
|
use_std = ["nix", "itertools/use_std", "libc", "cpuid/use_std", "turn_lock", "bitvec"]
|
|
no_std = ["polling_serial", "vga_buffer", "hashbrown"]
|
|
|
|
default = ["use_std"]
|
|
|
|
[[bin]]
|
|
name = "cache_utils"
|
|
required-features = ["use_std"]
|