servo-allocator 0.1.0

A component of the servo web-engine.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"]