[dependencies.bitflags]
version = "2.6.0"
[dependencies.num-bigint]
version = "0.4.6"
[dependencies.oxc_allocator]
version = "0.25.0"
[dependencies.oxc_ast_macros]
version = "0.25.0"
[dependencies.oxc_span]
version = "0.25.0"
[dependencies.oxc_syntax]
version = "0.25.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.206"
[dependencies.serde_json]
optional = true
version = "1.0.124"
[dependencies.tsify]
optional = true
version = "0.4.5"
[dependencies.wasm-bindgen]
optional = true
version = "0.2.92"
[features]
default = []
serialize = ["dep:serde", "dep:serde_json", "dep:tsify", "dep:wasm-bindgen", "oxc_allocator/serialize", "oxc_span/serialize", "oxc_syntax/serialize", "oxc_syntax/to_js_string"]
[lib]
doctest = false
name = "oxc_ast"
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_ast"
readme = false
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.74"
version = "0.25.0"