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"
|
2022-04-21 10:59:26 +02:00
|
|
|
authors = ["Guillaume DIDIER <guillaume.didier.2014@polytechnique.org>"]
|
2019-12-22 15:24:21 +01:00
|
|
|
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 }
|
2021-06-10 11:19:00 +02:00
|
|
|
x86_64 = "0.14.1"
|
2020-03-09 14:27:32 +01:00
|
|
|
static_assertions = "1.1.0"
|
2021-06-10 11:19:00 +02:00
|
|
|
itertools = { version = "0.10.0", default-features = false }
|
2020-03-09 14:27:32 +01:00
|
|
|
|
2021-06-10 11:19:00 +02:00
|
|
|
nix = { version = "0.20.0", optional = true }
|
|
|
|
libc = { version = "0.2.92", optional = true }
|
|
|
|
hashbrown = { version = "0.11.2", optional = true }
|
2021-01-08 10:49:59 +01:00
|
|
|
turn_lock = { path = "../turn_lock", optional = true}
|
2021-11-24 17:20:04 +01:00
|
|
|
lazy_static = "1.4.0"
|
2022-09-23 11:28:42 +02:00
|
|
|
bitvec = { version = "0.22.3", optional = true }
|
2020-04-01 16:12:15 +02:00
|
|
|
|
2020-03-09 14:27:32 +01:00
|
|
|
[features]
|
2022-09-23 11:28:42 +02:00
|
|
|
use_std = ["nix", "itertools/use_std", "libc", "cpuid/use_std", "turn_lock", "bitvec"]
|
2020-07-15 10:13:58 +02:00
|
|
|
no_std = ["polling_serial", "vga_buffer", "hashbrown"]
|
2020-03-09 14:27:32 +01:00
|
|
|
|
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"]
|