[package]
edition = "2024"
rust-version = "1.86.0"
name = "servo-allocator"
version = "0.1.0"
authors = ["The Servo Project Developers"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A component of the servo web-engine."
readme = false
license = "MPL-2.0"
repository = "https://github.com/servo/servo"
resolver = "2"
[features]
allocation-tracking = [
"backtrace",
"dep:rustc-hash",
"log",
]
use-system-allocator = ["libc"]
[lib]
name = "servo_allocator"
path = "lib.rs"
[dependencies.backtrace]
version = "0.3"
optional = true
[dependencies.log]
version = "0.4.29"
optional = true
[dependencies.rustc-hash]
version = "2.1.2"
optional = true
[target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies.libc]
version = "0.2"
optional = true
[target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies.tikv-jemalloc-sys]
version = "0.6.1"
[target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies.tikv-jemallocator]
version = "0.6.1"
[target.'cfg(target_env = "ohos")'.dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = ["Win32_System_Memory"]