@@ -22,10 +22,7 @@ rust-version = "1.86.0"
2222absolute_paths_not_starting_with_crate = " warn"
2323non_ascii_idents = " warn"
2424unit-bindings = " warn"
25- unexpected_cfgs = { level = " warn" , check-cfg = [
26- ' cfg(coverage)' ,
27- ' cfg(coverage_nightly)' ,
28- ] }
25+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(coverage)' , ' cfg(coverage_nightly)' ] }
2926tail_expr_drop_order = " warn"
3027unsafe_op_in_unsafe_fn = " warn"
3128unused_unsafe = " warn"
@@ -36,14 +33,14 @@ all = { level = "warn", priority = -1 }
3633dbg_macro = " warn"
3734todo = " warn"
3835unimplemented = " warn"
39- print_stdout = " warn" # Must be opt-in
40- print_stderr = " warn" # Must be opt-in
36+ print_stdout = " warn" # Must be opt-in
37+ print_stderr = " warn" # Must be opt-in
4138allow_attributes = " warn"
4239# I like the explicitness of this rule as it removes confusion around `clone`.
4340# This increases readability, avoids `clone` mindlessly and heap allocating by accident.
4441clone_on_ref_ptr = " warn"
4542# These two are mutually exclusive, I like `mod.rs` files for better fuzzy searches on module entries.
46- self_named_module_files = " warn" # "-Wclippy::mod_module_files"
43+ self_named_module_files = " warn" # "-Wclippy::mod_module_files"
4744empty_drop = " warn"
4845empty_structs_with_brackets = " warn"
4946exit = " warn"
@@ -102,9 +99,9 @@ redundant_clone = "warn"
10299# cargo
103100cargo = { level = " warn" , priority = -1 }
104101multiple_crate_versions = " allow"
105- cargo_common_metadata = " allow" # FIXME
106- doc_lazy_continuation = " allow" # FIXME
107- ignore_without_reason = " allow" # FIXME
102+ cargo_common_metadata = " allow" # FIXME
103+ doc_lazy_continuation = " allow" # FIXME
104+ ignore_without_reason = " allow" # FIXME
108105
109106[workspace .dependencies ]
110107# publish = true
@@ -123,9 +120,7 @@ oxc_isolated_declarations = { version = "0.75.0", path = "crates/oxc_isolated_de
123120oxc_mangler = { version = " 0.75.0" , path = " crates/oxc_mangler" }
124121oxc_minifier = { version = " 0.75.0" , path = " crates/oxc_minifier" }
125122oxc_napi = { version = " 0.75.0" , path = " crates/oxc_napi" }
126- oxc_parser = { version = " 0.75.0" , path = " crates/oxc_parser" , features = [
127- " regular_expression" ,
128- ] }
123+ oxc_parser = { version = " 0.75.0" , path = " crates/oxc_parser" , features = [" regular_expression" ] }
129124oxc_parser_napi = { version = " 0.75.0" , path = " napi/parser" }
130125oxc_regular_expression = { version = " 0.75.0" , path = " crates/oxc_regular_expression" }
131126oxc_semantic = { version = " 0.75.0" , path = " crates/oxc_semantic" }
@@ -205,9 +200,7 @@ lazy_static = "1.5.0"
205200log = " 0.4.27"
206201markdown = " 1.0.0"
207202memchr = " 2.7.4"
208- miette = { package = " oxc-miette" , version = " 2.3.0" , features = [
209- " fancy-no-syscall" ,
210- ] }
203+ miette = { package = " oxc-miette" , version = " 2.3.0" , features = [" fancy-no-syscall" ] }
211204mimalloc-safe = " 0.1.53"
212205nonmax = " 0.5.5"
213206num-bigint = " 0.4.6"
@@ -243,11 +236,11 @@ walkdir = "2.5.0"
243236
244237[workspace .metadata .cargo-shear ]
245238ignored = [
246- " napi" ,
247- " oxc_transform_napi" ,
248- " oxc_parser_napi" ,
249- " prettyplease" ,
250- " lazy_static" ,
239+ " napi" ,
240+ " oxc_transform_napi" ,
241+ " oxc_parser_napi" ,
242+ " prettyplease" ,
243+ " lazy_static" ,
251244]
252245
253246[profile .dev ]
@@ -279,24 +272,24 @@ opt-level = 3
279272lto = " fat"
280273codegen-units = 1
281274strip = " symbols" # Set to `false` for debug information
282- debug = false # Set to `true` for debug information
283- panic = " abort" # Let it crash and force ourselves to write safe Rust
275+ debug = false # Set to `true` for debug information
276+ panic = " abort" # Let it crash and force ourselves to write safe Rust
284277
285278# Profile used for release mode, but with debugging information for profiling
286279# and debugging. Use `cargo build --profile=release-with-debug` to build with this profile.
287280[profile .release-with-debug ]
288281inherits = " release"
289- strip = false # Keep debug information in binary
290- debug = true # Include maximum amount of debug information
282+ strip = false # Keep debug information in binary
283+ debug = true # Include maximum amount of debug information
291284
292285# Profile for `cargo coverage`
293286[profile .coverage ]
294287inherits = " release"
295- opt-level = 2 # Compile faster
296- codegen-units = 256 # Compile faster
297- lto = " thin" # Faster compile time with thin LTO
288+ opt-level = 2 # Compile faster
289+ codegen-units = 256 # Compile faster
290+ lto = " thin" # Faster compile time with thin LTO
298291debug-assertions = true # Make sure `debug_assert!`s pass
299- overflow-checks = true # Catch arithmetic overflow errors
292+ overflow-checks = true # Catch arithmetic overflow errors
300293
301294# Profile for linting with release mode-like settings.
302295# Catches lint errors which only appear in release mode.
0 commit comments