[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"
[dependencies.bumpalo]
features = ["boxed", "collections", "allocator-api2"]
version = "3.16.0"
[dependencies.hashbrown]
version = "0.14.5"
[dependencies.ptr_meta]
version = "0.1.4"
[dependencies.rkyv]
optional = true
version = "=0.7.45"
[dependencies.rustc-hash]
version = "1.1.0"
[dependencies.serde]
optional = true
version = "1.0.197"
[dependencies.triomphe]
version = "0.1.13"
[dev-dependencies.codspeed-criterion-compat]
version = "2.6.0"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.swc_malloc]
version = "0.5.10"
[features]
default = ["scoped"]
nightly = ["bumpalo/allocator_api", "hashbrown/nightly"]
rkyv = ["dep:rkyv"]
scoped = ["nightly"]
serde = ["dep:serde"]
[lib]
name = "swc_allocator"
path = "src/lib.rs"
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A thin wrapper for bumpalo"
documentation = "https://rustdoc.swc.rs/swc_allocator/"
edition = "2021"
license = "Apache-2.0"
name = "swc_allocator"
readme = false
repository = "https://github.com/swc-project/swc.git"
version = "0.1.10"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "alloction"
path = "tests/alloction.rs"