2024-07-10 12:47:14 +03:00
|
|
|
[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 }
|
2024-07-15 08:27:36 +03:00
|
|
|
version = "0.1.3"
|
2024-07-10 12:47:14 +03:00
|
|
|
|
2024-07-14 07:27:41 +03:00
|
|
|
[features]
|
|
|
|
rkyv = ["dep:rkyv"]
|
|
|
|
serde = ["dep:serde", "dep:serde_derive"]
|
|
|
|
|
2024-07-10 12:47:14 +03:00
|
|
|
[dependencies]
|
2024-07-14 07:27:41 +03:00
|
|
|
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 }
|
2024-07-14 18:37:38 +03:00
|
|
|
triomphe = "0.1.13"
|
2024-07-14 10:20:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
criterion = { workspace = true }
|
|
|
|
|
|
|
|
codspeed-criterion-compat = { workspace = true }
|
|
|
|
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
|
|
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "bench"
|