[dependencies.bitflags]
version = "2.6.0"
[dependencies.dashmap]
version = "6.0.1"
[dependencies.nonmax]
version = "0.5.5"
[dependencies.oxc_allocator]
version = "0.25.0"
[dependencies.oxc_ast_macros]
version = "0.25.0"
[dependencies.oxc_index]
version = "0.25.0"
[dependencies.oxc_span]
version = "0.25.0"
[dependencies.phf]
features = ["macros"]
version = "0.11.2"
[dependencies.rustc-hash]
version = "2.*"
[dependencies.ryu-js]
optional = true
version = "1.0.1"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.206"
[dependencies.tsify]
optional = true
version = "0.4.5"
[dependencies.unicode-id-start]
version = "1"
[dependencies.wasm-bindgen]
optional = true
version = "0.2.92"
[features]
default = []
serialize = ["bitflags/serde", "dep:serde", "dep:tsify", "dep:wasm-bindgen", "oxc_index/serialize"]
to_js_string = ["dep:ryu-js"]
[lib]
doctest = false
name = "oxc_syntax"
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_syntax"
publish = true
readme = false
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.74"
version = "0.25.0"
[package.metadata.cargo-shear]
ignored = ["oxc_allocator"]