[package] name = "libyalloc" version = "0.1.0" edition = "2021" authors = ["Mark Poliakov "] # 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" ]