[dependencies.oxc_allocator]
version = "0.109.0"
[dependencies.oxc_ast]
version = "0.109.0"
[dependencies.oxc_ast_visit]
optional = true
version = "0.109.0"
[dependencies.oxc_cfg]
optional = true
version = "0.109.0"
[dependencies.oxc_codegen]
default-features = false
optional = true
version = "0.109.0"
[dependencies.oxc_diagnostics]
version = "0.109.0"
[dependencies.oxc_isolated_declarations]
optional = true
version = "0.109.0"
[dependencies.oxc_mangler]
optional = true
version = "0.109.0"
[dependencies.oxc_minifier]
optional = true
version = "0.109.0"
[dependencies.oxc_parser]
features = ["regular_expression"]
version = "0.109.0"
[dependencies.oxc_regular_expression]
optional = true
version = "0.109.0"
[dependencies.oxc_semantic]
optional = true
version = "0.109.0"
[dependencies.oxc_span]
version = "0.109.0"
[dependencies.oxc_syntax]
version = "0.109.0"
[dependencies.oxc_transformer]
optional = true
version = "0.109.0"
[dependencies.oxc_transformer_plugins]
optional = true
version = "0.109.0"
[features]
ast_visit = ["oxc_ast_visit"]
cfg = ["oxc_cfg", "oxc_semantic/cfg"]
codegen = ["oxc_codegen", "oxc_codegen/sourcemap"]
conformance = ["oxc_ast_visit/conformance"]
default = ["regular_expression"]
full = ["codegen", "mangler", "minifier", "semantic", "transformer", "isolated_declarations", "ast_visit", "regular_expression"]
isolated_declarations = ["oxc_isolated_declarations"]
mangler = ["oxc_mangler"]
minifier = ["oxc_mangler", "oxc_minifier"]
regular_expression = ["oxc_regular_expression", "oxc_parser/regular_expression"]
semantic = ["oxc_semantic"]
serialize = ["oxc_allocator/from_raw_parts", "oxc_ast/serialize", "oxc_ast_visit/serialize", "oxc_semantic?/serialize", "oxc_span/serialize", "oxc_syntax/serialize"]
transformer = ["oxc_transformer", "oxc_transformer_plugins"]
[lib]
doctest = false
name = "oxc"
path = "src/lib.rs"
test = false
[lints.clippy]
allow_attributes = "warn"
branches_sharing_code = "allow"
clone_on_ref_ptr = "warn"
cognitive_complexity = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
fallible_impl_from = "allow"
filetype_is_file = "warn"
fn_params_excessive_bools = "allow"
get_unwrap = "warn"
impl_trait_in_params = "allow"
infinite_loop = "warn"
iter_on_single_items = "warn"
map_with_unused_argument_over_ranges = "warn"
missing_const_for_fn = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
non_send_fields_in_send_ty = "allow"
non_std_lazy_statics = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
pathbuf_init_then_push = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
significant_drop_in_scrutinee = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
suspicious_operation_groupings = "warn"
todo = "warn"
too_long_first_doc_paragraph = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unused_peekable = "warn"
unused_result_ok = "warn"
use_self = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"
zero_sized_map_values = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
non_ascii_idents = "warn"
tail_expr_drop_order = "warn"
unit-bindings = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_unsafe = "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
autolib = false
autotests = false
build = false
categories = ["compilers", "development-tools", "web-programming"]
description = "A collection of JavaScript tools written in Rust."
edition = "2024"
homepage = "https://oxc.rs"
include = ["/src"]
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
license = "MIT"
name = "oxc"
publish = true
readme = "README.md"
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.90.0"
version = "0.109.0"
[package.metadata.docs.rs]
all-features = true