dendrobates-t-azureus/cache_utils/Cargo.toml

35 lines
1.1 KiB
TOML
Raw Normal View History

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.2014@polytechnique.org>"]
2024-06-24 09:39:28 +02:00
edition = "2021"
2024-05-27 11:51:13 +02:00
license = "MIT OR Apache-2.0"
2019-12-22 15:24:21 +01:00
# 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 }
2020-05-28 10:01:22 +02:00
cpuid = { path = "../cpuid", default-features = false }
2024-05-27 11:51:13 +02:00
x86_64 = "0.15.1"
static_assertions = "1.1.0"
2024-05-27 11:51:13 +02:00
itertools = { version = "0.12.1", default-features = false }
atomic = "0.6.0"
2024-06-24 15:53:15 +02:00
nix = { version = "0.29.0", optional = true, features = ["process", "mman", "sched"] }
2024-05-27 11:51:13 +02:00
libc = { version = "0.2.153", optional = true }
2021-06-10 11:19:00 +02:00
hashbrown = { version = "0.11.2", optional = true }
2024-06-24 15:53:15 +02:00
turn_lock = { path = "../turn_lock", optional = true }
lazy_static = "1.4.0"
2022-09-23 11:28:42 +02:00
bitvec = { version = "0.22.3", optional = true }
[features]
2022-09-23 11:28:42 +02:00
use_std = ["nix", "itertools/use_std", "libc", "cpuid/use_std", "turn_lock", "bitvec"]
no_std = ["polling_serial", "vga_buffer", "hashbrown"]
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"]