[package] name = "servo_allocator" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" edition = "2018" publish = false [lib] path = "lib.rs" [features] use-system-allocator = ["libc"] [target.'cfg(not(any(windows, target_os = "android")))'.dependencies] jemallocator = { workspace = true } jemalloc-sys = { workspace = true } libc = { workspace = true, optional = true } [target.'cfg(windows)'.dependencies] winapi = { workspace = true, features = ["heapapi"] } [target.'cfg(target_os = "android")'.dependencies] libc = { workspace = true }