[package]
description = "rspack allocator"
edition.workspace = true
license = "MIT"
name = "rspack_allocator"
repository = "https://github.com/web-infra-dev/rspack"
version.workspace = true
[dependencies]
[target.'cfg(not(target_family = "wasm"))'.dependencies]
sftrace-setup = { workspace = true, optional = true }
tracy-client = { workspace = true, optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
[target.'cfg(target_os = "macos")'.dependencies]
mimalloc = { workspace = true, features = ["v3"] }
[target.'cfg(all(not(target_os = "linux"), not(target_os = "macos"), not(target_family = "wasm")))'.dependencies]
mimalloc = { workspace = true }
[package.metadata.cargo-shear]
ignored = ["tracy-client-sys"]