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-10-12 10:20:07 +03:00
|
|
|
version = "1.0.0"
|
2024-07-10 12:47:14 +03:00
|
|
|
|
2024-07-15 09:22:26 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
|
2024-07-14 07:27:41 +03:00
|
|
|
[features]
|
2024-07-15 15:51:42 +03:00
|
|
|
default = ["scoped"]
|
2024-07-19 21:05:08 +03:00
|
|
|
nightly = ["bumpalo/allocator_api", "hashbrown/nightly"]
|
2024-07-15 15:51:42 +03:00
|
|
|
rkyv = ["dep:rkyv"]
|
2024-07-18 17:03:58 +03:00
|
|
|
scoped = ["nightly"]
|
2024-07-19 09:16:48 +03:00
|
|
|
serde = ["dep:serde"]
|
2024-07-14 07:27:41 +03:00
|
|
|
|
2024-07-10 12:47:14 +03:00
|
|
|
[dependencies]
|
2024-07-14 07:27:41 +03:00
|
|
|
bumpalo = { workspace = true, features = [
|
2024-07-15 09:22:26 +03:00
|
|
|
"boxed",
|
|
|
|
"collections",
|
2024-07-18 17:03:58 +03:00
|
|
|
"allocator-api2",
|
2024-07-14 07:27:41 +03:00
|
|
|
] }
|
2024-07-19 21:05:08 +03:00
|
|
|
hashbrown = { workspace = true }
|
2024-07-14 07:27:41 +03:00
|
|
|
ptr_meta = { workspace = true }
|
|
|
|
rkyv = { workspace = true, optional = true }
|
2024-07-19 21:05:08 +03:00
|
|
|
rustc-hash = { workspace = true }
|
2024-07-14 07:27:41 +03:00
|
|
|
serde = { workspace = true, optional = true }
|
2024-07-15 13:54:00 +03:00
|
|
|
triomphe = { workspace = true }
|
2024-07-14 10:20:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
criterion = { workspace = true }
|
|
|
|
|
|
|
|
codspeed-criterion-compat = { workspace = true }
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
|
2024-07-14 10:20:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
2024-07-15 13:07:55 +03:00
|
|
|
harness = false
|
|
|
|
name = "bench"
|