yggdrasil/lib/libyalloc/Cargo.toml
Mark Poliakov 2f6f9b9b55 Add 'lib/libyalloc/' from commit 'c8399685ff776a08799c5e4c6eecd6fef1dce7bd'
git-subtree-dir: lib/libyalloc
git-subtree-mainline: 53ad163fb7a4d7d4229e76543f6890a379dbb85d
git-subtree-split: c8399685ff776a08799c5e4c6eecd6fef1dce7bd
2024-03-12 15:53:46 +02:00

28 lines
790 B
TOML

[package]
name = "libyalloc"
version = "0.1.0"
edition = "2021"
authors = ["Mark Poliakov <mark@alnyan.me>"]
# 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" }
compiler_builtins = { version = "0.1", optional = true }
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.140", default-features = false }
[target.'cfg(not(unix))'.dependencies]
yggdrasil-rt = { git = "https://git.alnyan.me/yggdrasil/yggdrasil-rt.git", default-features = false }
[features]
default = []
rustc-dep-of-std = [
"core",
"compiler_builtins",
"compiler_builtins/rustc-dep-of-std",
"libc/rustc-dep-of-std",
"yggdrasil-rt/rustc-dep-of-std"
]