mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 18:31:35 +03:00
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "A thin wrapper for bumpalo"
|
|
documentation = "https://rustdoc.swc.rs/swc_allocator/"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
name = "swc_allocator"
|
|
repository = { workspace = true }
|
|
version = "0.1.5"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
[features]
|
|
rkyv = ["dep:rkyv"]
|
|
scoped = []
|
|
serde = ["dep:serde", "dep:serde_derive"]
|
|
|
|
[dependencies]
|
|
allocator-api2 = { workspace = true, features = ["serde"] }
|
|
bumpalo = { workspace = true, features = [
|
|
"allocator-api2",
|
|
"boxed",
|
|
"collections",
|
|
] }
|
|
ptr_meta = { workspace = true }
|
|
rkyv = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
serde_derive = { workspace = true, optional = true }
|
|
triomphe = "0.1.13"
|
|
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true }
|
|
|
|
codspeed-criterion-compat = { workspace = true }
|
|
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
|
|
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "bench"
|