oxc_allocator 0.25.0

A collection of JavaScript tools written in Rust.
Documentation
[dependencies.allocator-api2]
version = "0.2.18"

[dependencies.bumpalo]
features = ["allocator-api2", "collections"]
version = "3.16.0"

[dependencies.serde]
optional = true
version = "1.0.206"

[dev-dependencies.serde]
version = "1.0.206"

[dev-dependencies.serde_json]
version = "1.0.124"

[features]
serialize = ["dep:serde"]

[lib]
doctest = false
name = "oxc_allocator"
path = "src/lib.rs"

[lints.clippy]
cargo_common_metadata = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
filetype_is_file = "warn"
get_unwrap = "warn"
impl_trait_in_params = "warn"
infinite_loop = "warn"
missing_const_for_fn = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.empty_docs]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
non_ascii_idents = "warn"
unit-bindings = "warn"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(coverage)", "cfg(coverage_nightly)"]
level = "warn"
priority = 0

[package]
authors = ["Boshen <boshenc@gmail.com>", "Oxc contributors"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["compilers", "development-tools", "web-programming"]
description = "A collection of JavaScript tools written in Rust."
edition = "2021"
homepage = "https://oxc.rs"
include = ["/src"]
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
license = "MIT"
name = "oxc_allocator"
readme = false
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.74"
version = "0.25.0"