mirror of
https://github.com/swc-project/swc.git
synced 2024-11-25 22:34:04 +03:00
30f9a70d57
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
47 lines
1.1 KiB
TOML
47 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 = "1.0.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
[features]
|
|
default = ["scoped"]
|
|
nightly = ["bumpalo/allocator_api", "hashbrown/nightly"]
|
|
rkyv = ["dep:rkyv"]
|
|
scoped = ["nightly"]
|
|
serde = ["dep:serde"]
|
|
|
|
[dependencies]
|
|
bumpalo = { workspace = true, features = [
|
|
"boxed",
|
|
"collections",
|
|
"allocator-api2",
|
|
] }
|
|
hashbrown = { workspace = true }
|
|
ptr_meta = { workspace = true }
|
|
rkyv = { workspace = true, optional = true }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
triomphe = { workspace = true }
|
|
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true }
|
|
|
|
codspeed-criterion-compat = { workspace = true }
|
|
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
|
|
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "bench"
|