yggdrasil/lib/libyalloc/Cargo.toml

30 lines
792 B
TOML
Raw Normal View History

2023-12-18 14:32:27 +02:00
[package]
name = "libyalloc"
version = "0.1.0"
edition = "2021"
2024-01-04 21:33:06 +02:00
authors = ["Mark Poliakov <mark@alnyan.me>"]
2023-12-18 14:32:27 +02:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
2023-12-18 14:52:23 +02:00
compiler_builtins = { version = "0.1", optional = true }
2023-12-18 14:32:27 +02:00
2024-03-03 01:59:05 +02:00
2023-12-18 14:32:27 +02:00
[target.'cfg(unix)'.dependencies]
2023-12-18 14:42:05 +02:00
libc = { version = "0.2.140", default-features = false }
2024-03-03 01:59:05 +02:00
[target.'cfg(not(unix))'.dependencies]
2024-03-12 18:17:47 +02:00
yggdrasil-rt = { path = "../runtime", default-features = false }
2023-12-18 14:32:27 +02:00
[features]
default = ["global"]
global = []
dep-of-kernel = []
2023-12-18 14:32:27 +02:00
rustc-dep-of-std = [
2023-12-18 14:36:54 +02:00
"core",
2023-12-18 14:52:23 +02:00
"compiler_builtins",
"compiler_builtins/rustc-dep-of-std",
2023-12-18 14:42:05 +02:00
"libc/rustc-dep-of-std",
"yggdrasil-rt/rustc-dep-of-std"
2023-12-18 14:32:27 +02:00
]