[dependencies.assert-unchecked]
version = "0.1.2"
[dependencies.bitflags]
version = "2.6.0"
[dependencies.memchr]
version = "2.7.4"
[dependencies.num-bigint]
version = "0.4.6"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.oxc_allocator]
version = "0.25.0"
[dependencies.oxc_ast]
version = "0.25.0"
[dependencies.oxc_diagnostics]
version = "0.25.0"
[dependencies.oxc_regular_expression]
version = "0.25.0"
[dependencies.oxc_span]
version = "0.25.0"
[dependencies.oxc_syntax]
version = "0.25.0"
[dependencies.rustc-hash]
version = "2.*"
[dependencies.seq-macro]
version = "0.3.5"
[dev-dependencies.oxc_ast]
features = ["serialize"]
version = "0.25.0"
[dev-dependencies.serde_json]
version = "1.0.124"
[[example]]
name = "parser"
path = "examples/parser.rs"
[[example]]
name = "regular_expression"
path = "examples/regular_expression.rs"
[[example]]
name = "visitor"
path = "examples/visitor.rs"
[features]
benchmarking = []
[lib]
doctest = false
name = "oxc_parser"
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 = ["/examples", "/src"]
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
license = "MIT"
name = "oxc_parser"
readme = false
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.74"
version = "0.25.0"