Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[autofix.ci] apply automated fixes
  • Loading branch information
autofix-ci[bot] authored Oct 14, 2024
commit 53ed3cbd2178544c2d928eded8268649941f153d
40 changes: 16 additions & 24 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ description = "A collection of JavaScript tools written in Rust."
absolute_paths_not_starting_with_crate = "warn"
non_ascii_idents = "warn"
unit-bindings = "warn"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(coverage)',
'cfg(coverage_nightly)',
] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)', 'cfg(coverage_nightly)'] }

[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
Expand All @@ -52,14 +49,14 @@ empty_docs = { level = "allow", priority = 1 } # From `Tsify`
dbg_macro = "warn"
todo = "warn"
unimplemented = "warn"
print_stdout = "warn" # Must be opt-in
print_stderr = "warn" # Must be opt-in
print_stdout = "warn" # Must be opt-in
print_stderr = "warn" # Must be opt-in
allow_attributes = "warn"
# I like the explicitness of this rule as it removes confusion around `clone`.
# This increases readability, avoids `clone` mindlessly and heap allocating by accident.
clone_on_ref_ptr = "warn"
# These two are mutually exclusive, I like `mod.rs` files for better fuzzy searches on module entries.
self_named_module_files = "warn" # "-Wclippy::mod_module_files"
self_named_module_files = "warn" # "-Wclippy::mod_module_files"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
Expand Down Expand Up @@ -95,8 +92,8 @@ missing_const_for_fn = "allow"
# cargo
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
cargo_common_metadata = "allow" # FIXME
doc_lazy_continuation = "allow" # FIXME
cargo_common_metadata = "allow" # FIXME
doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
Expand Down Expand Up @@ -136,7 +133,6 @@ napi-build = "2.1.3"
napi-derive = "3.0.0-alpha.11"

aho-corasick = "1.1.3"
allocator-api2 = "0.2.18"
assert-unchecked = "0.1.2"
base64 = "0.22.1"
base64-simd = "0.8"
Expand Down Expand Up @@ -174,9 +170,7 @@ log = "0.4.22"
markdown = "1.0.0-alpha.21"
memchr = "2.7.4"
memoffset = "0.9.1"
miette = { version = "7.2.0", features = [
"fancy-no-syscall",
] }
miette = { version = "7.2.0", features = ["fancy-no-syscall"] }
mimalloc = "0.1.43"
mime_guess = "2.0.5"
nonmax = "0.5.5"
Expand Down Expand Up @@ -205,11 +199,9 @@ scraper = "0.20.0"
seq-macro = "0.3.5"
serde = "1.0.210"
serde-wasm-bindgen = "0.6.5"
simdutf8 = { version = "0.1.4", features = [
"aarch64_neon",
] }
serde_json = "1.0.128"
sha1 = "0.10.6"
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
similar = "2.6.0"
syn = { version = "2.0.79", default-features = false }
tempfile = "3.13.0"
Expand Down Expand Up @@ -256,22 +248,22 @@ opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols" # Set to `false` for debug information
debug = false # Set to `true` for debug information
panic = "abort" # Let it crash and force ourselves to write safe Rust
debug = false # Set to `true` for debug information
panic = "abort" # Let it crash and force ourselves to write safe Rust

# Profile used for release mode, but with debugging information for profiling
# and debugging. Use `cargo build --profile=release-with-debug` to build with this profile.
[profile.release-with-debug]
inherits = "release"
strip = false # Keep debug information in binary
debug = true # Include maximum amount of debug information
strip = false # Keep debug information in binary
debug = true # Include maximum amount of debug information

# Profile for `cargo coverage`
[profile.coverage]
inherits = "release"
opt-level = 2 # Compile faster
codegen-units = 256 # Compile faster
lto = "thin" # Faster compile time with thin LTO
opt-level = 2 # Compile faster
codegen-units = 256 # Compile faster
lto = "thin" # Faster compile time with thin LTO
debug-assertions = true # Make sure `debug_assert!`s pass
overflow-checks = true # Catch arithmetic overflow errors
overflow-checks = true # Catch arithmetic overflow errors
incremental = true
1 change: 0 additions & 1 deletion crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ workspace = true
doctest = false

[dependencies]
allocator-api2 = { workspace = true }
bumpalo = { workspace = true, features = ["allocator-api2", "collections"] }

serde = { workspace = true, optional = true }
Expand Down