mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 20:28:58 +00:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bpaf](https://redirect.github.com/pacak/bpaf) | workspace.dependencies | patch | `0.9.12` -> `0.9.14` | | [dashmap](https://redirect.github.com/xacrimon/dashmap) | workspace.dependencies | minor | `6.0.1` -> `6.1.0` | | [globset](https://redirect.github.com/BurntSushi/ripgrep/tree/master/crates/globset) ([source](https://redirect.github.com/BurntSushi/ripgrep/tree/HEAD/crates/globset)) | workspace.dependencies | patch | `0.4.14` -> `0.4.15` | | [handlebars](https://redirect.github.com/sunng87/handlebars-rust) | workspace.dependencies | minor | `6.0.0` -> `6.1.0` | | [ignore](https://redirect.github.com/BurntSushi/ripgrep/tree/master/crates/ignore) ([source](https://redirect.github.com/BurntSushi/ripgrep/tree/HEAD/crates/ignore)) | workspace.dependencies | patch | `0.4.22` -> `0.4.23` | | [indexmap](https://redirect.github.com/indexmap-rs/indexmap) | workspace.dependencies | minor | `2.4.0` -> `2.5.0` | | [insta](https://insta.rs/) ([source](https://redirect.github.com/mitsuhiko/insta)) | workspace.dependencies | minor | `1.39.0` -> `1.40.0` | | [napi](https://redirect.github.com/napi-rs/napi-rs) | workspace.dependencies | patch | `3.0.0-alpha.8` -> `3.0.0-alpha` | | [napi-derive](https://redirect.github.com/napi-rs/napi-rs) | workspace.dependencies | patch | `3.0.0-alpha.7` -> `3.0.0-alpha` | | [owo-colors](https://redirect.github.com/jam1garner/owo-colors) | workspace.dependencies | minor | `4.0.0` -> `4.1.0` | | [oxc_resolver](https://redirect.github.com/oxc-project/oxc-resolver) | workspace.dependencies | minor | `1.10.2` -> `1.11.0` | | [serde](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.209` -> `1.0.210` | | [serde_json](https://redirect.github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.127` -> `1.0.128` | | [tokio](https://tokio.rs) ([source](https://redirect.github.com/tokio-rs/tokio)) | workspace.dependencies | minor | `1.39.3` -> `1.40.0` | | [unicode-id-start](https://redirect.github.com/Boshen/unicode-id-start) | workspace.dependencies | minor | `1.2.0` -> `1.3.0` | | [unicode-width](https://redirect.github.com/unicode-rs/unicode-width) | workspace.dependencies | minor | `0.1.13` -> `0.2.0` | --- ### Release Notes <details> <summary>pacak/bpaf (bpaf)</summary> ### [`v0.9.14`](https://redirect.github.com/pacak/bpaf/blob/HEAD/Changelog.md#bpaf-0914--2024-09-19) [Compare Source](https://redirect.github.com/pacak/bpaf/compare/v0.9.13...v0.9.14) - add license files ([#​388](https://redirect.github.com/pacak/bpaf/issues/388)) thanks [@​davide](https://redirect.github.com/davide) - fix fish completions - you'll need to regenerate completion files for them to work ### [`v0.9.13`](https://redirect.github.com/pacak/bpaf/blob/HEAD/Changelog.md#bpaf-0913--bpafderive-0513---2024-09-06) [Compare Source](https://redirect.github.com/pacak/bpaf/compare/v0.9.12...v0.9.13) - You can now use `fallback_to_usage` in derive macro for options and subcommands ([#​376](https://redirect.github.com/pacak/bpaf/issues/376)) - Bugfixes related to shell completion and file masks thanks [@​ozwaldorf](https://redirect.github.com/ozwaldorf) - `not_strict` restriction for positional items (TODO - check the docs) thanks [@​ozwaldorf](https://redirect.github.com/ozwaldorf) - more shell completion bugfixes ([#​384](https://redirect.github.com/pacak/bpaf/issues/384), [#​382](https://redirect.github.com/pacak/bpaf/issues/382), [#​381](https://redirect.github.com/pacak/bpaf/issues/381)) - `ParseFailure::print_mesage` (with one `s` is deprecated in favor of the right spelling </details> <details> <summary>xacrimon/dashmap (dashmap)</summary> ### [`v6.1.0`](https://redirect.github.com/xacrimon/dashmap/releases/tag/v6.1.0) [Compare Source](https://redirect.github.com/xacrimon/dashmap/compare/v6.0.1...v6.1.0) - [https://github.com/xacrimon/dashmap/pull/308](https://redirect.github.com/xacrimon/dashmap/pull/308) </details> <details> <summary>sunng87/handlebars-rust (handlebars)</summary> ### [`v6.1.0`](https://redirect.github.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#610---2024-09-06) [Compare Source](https://redirect.github.com/sunng87/handlebars-rust/compare/v6.0.0...v6.1.0) - \[Added] More data type support in comparison helpers \[[#​673](https://redirect.github.com/sunng87/handlebars-rust/issues/673)] </details> <details> <summary>indexmap-rs/indexmap (indexmap)</summary> ### [`v2.5.0`](https://redirect.github.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#250) [Compare Source](https://redirect.github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0) - Added an `insert_before` method to `IndexMap` and `IndexSet`, as an alternative to `shift_insert` with different behavior on existing entries. - Added `first_entry` and `last_entry` methods to `IndexMap`. - Added `From` implementations between `IndexedEntry` and `OccupiedEntry`. </details> <details> <summary>mitsuhiko/insta (insta)</summary> ### [`v1.40.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1400) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.39.0...1.40.0) - `cargo-insta` no longer panics when running `cargo insta test --accept --workspace` on a workspace with a default crate. [#​532](https://redirect.github.com/mitsuhiko/insta/issues/532) - MSRV for `insta` has been raised to 1.60, and for `cargo-insta` to 1.64. - Added support for compact debug snapshots (`assert_compact_debug_snapshot`). [#​514](https://redirect.github.com/mitsuhiko/insta/issues/514) - Deprecate `--no-force-pass` in `cargo-insta`. The `--check` option covers the same functionality and has a clearer name. [#​513](https://redirect.github.com/mitsuhiko/insta/issues/513) - Inline snapshots now use the required number of `#`s to escape the snapshot value, rather than always using `###`. This allows snapshotting values which themselves contain `###`. If there are no existing `#` characters in the snapshot value, a single `#` will be used. [#​540](https://redirect.github.com/mitsuhiko/insta/issues/540) - Inline snapshots can now be updated with `--force-update-snapshots`. [#​569](https://redirect.github.com/mitsuhiko/insta/issues/569) - `cargo insta test` accepts multiple `--exclude` flags. [#​520](https://redirect.github.com/mitsuhiko/insta/issues/520) - `test` `runner` in insta's yaml config works. [#​544](https://redirect.github.com/mitsuhiko/insta/issues/544) - Print a warning when encountering old snapshot formats. [#​503](https://redirect.github.com/mitsuhiko/insta/issues/503) - Group the options in `cargo insta --help`, upgrade to `clap` from `structopt`. [#​518](https://redirect.github.com/mitsuhiko/insta/issues/518) - No longer suggest running `cargo insta` message when running `cargo insta test --check`. [#​515](https://redirect.github.com/mitsuhiko/insta/issues/515) - Print a clearer error message when accepting a snapshot that was removed. [#​516](https://redirect.github.com/mitsuhiko/insta/issues/516) - Mark `require-full-match` as experimental, given some corner-cases are currently difficult to manage. [#​497](https://redirect.github.com/mitsuhiko/insta/issues/497) - Add a new integration test approach for `cargo-insta` and a set of integration tests. [#​537](https://redirect.github.com/mitsuhiko/insta/issues/537) - Enable Filters to be created from `IntoIterator` types, rather than just `Vec`s. [#​570](https://redirect.github.com/mitsuhiko/insta/issues/570) - Implemented total sort order for an internal `Key` type correctly. This prevents potential crashes introduced by the new sort algorithm in Rust 1.81. [#​586](https://redirect.github.com/mitsuhiko/insta/issues/586) </details> <details> <summary>napi-rs/napi-rs (napi)</summary> ### [`v3.0.0-alpha.10`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/napi%403.0.0-alpha.10) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.9...napi@3.0.0-alpha.10) #### What's Changed - fix(napi): nullptr handling in `TypedArray`s by [@​Xanewok](https://redirect.github.com/Xanewok) in [https://github.com/napi-rs/napi-rs/pull/2258](https://redirect.github.com/napi-rs/napi-rs/pull/2258) - chore: enable corepack in Debian base Dockerfile by [@​stevefan1999-personal](https://redirect.github.com/stevefan1999-personal) in [https://github.com/napi-rs/napi-rs/pull/2252](https://redirect.github.com/napi-rs/napi-rs/pull/2252) - refactor(napi): allow create BufferSlice from external data by [@​Brooooooklyn](https://redirect.github.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/2263](https://redirect.github.com/napi-rs/napi-rs/pull/2263) #### New Contributors - [@​Xanewok](https://redirect.github.com/Xanewok) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/2258](https://redirect.github.com/napi-rs/napi-rs/pull/2258) - [@​stevefan1999-personal](https://redirect.github.com/stevefan1999-personal) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/2252](https://redirect.github.com/napi-rs/napi-rs/pull/2252) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.8...napi@3.0.0-alpha.10 ### [`v3.0.0-alpha.9`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/napi-derive%403.0.0-alpha.9) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.8...napi@3.0.0-alpha.9) #### What's Changed - fix(derive): fix clippy warning with newer rust version by [@​richerfu](https://redirect.github.com/richerfu) in [https://github.com/napi-rs/napi-rs/pull/2262](https://redirect.github.com/napi-rs/napi-rs/pull/2262) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.8...napi-derive@3.0.0-alpha.9 </details> <details> <summary>jam1garner/owo-colors (owo-colors)</summary> ### [`v4.1.0`](https://redirect.github.com/jam1garner/owo-colors/compare/v4.0.0...v4.1.0) [Compare Source](https://redirect.github.com/jam1garner/owo-colors/compare/v4.0.0...v4.1.0) </details> <details> <summary>oxc-project/oxc-resolver (oxc_resolver)</summary> ### [`v1.11.0`](https://redirect.github.com/oxc-project/oxc-resolver/blob/HEAD/CHANGELOG.md#1110---2024-08-26) [Compare Source](https://redirect.github.com/oxc-project/oxc-resolver/compare/oxc_resolver-v1.10.2...oxc_resolver-v1.11.0) ##### Added - use simdutf8 to validate UTF-8 when reading files ([#​237](https://redirect.github.com/oxc-project/oxc_resolver/pull/237)) - Yarn PnP (behind a feature flag) ([#​217](https://redirect.github.com/oxc-project/oxc_resolver/pull/217)) </details> <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.210`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.210) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) - Support serializing and deserializing `IpAddr` and `SocketAddr` in no-std mode on Rust 1.77+ ([#​2816](https://redirect.github.com/serde-rs/serde/issues/2816), thanks [@​MathiasKoch](https://redirect.github.com/MathiasKoch)) - Make `serde::ser::StdError` and `serde:🇩🇪:StdError` equivalent to `core::error::Error` on Rust 1.81+ ([#​2818](https://redirect.github.com/serde-rs/serde/issues/2818)) </details> <details> <summary>serde-rs/json (serde_json)</summary> ### [`v1.0.128`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.128) [Compare Source](https://redirect.github.com/serde-rs/json/compare/1.0.127...1.0.128) - Support serializing maps containing 128-bit integer keys to serde_json::Value ([#​1188](https://redirect.github.com/serde-rs/json/issues/1188), thanks [@​Mrreadiness](https://redirect.github.com/Mrreadiness)) </details> <details> <summary>tokio-rs/tokio (tokio)</summary> ### [`v1.40.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.40.0): Tokio v1.40.0 [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.39.3...tokio-1.40.0) ### 1.40.0 (August 30th, 2024) ##### Added - io: add `util::SimplexStream` ([#​6589]) - process: stabilize `Command::process_group` ([#​6731]) - sync: add `{TrySendError,SendTimeoutError}::into_inner` ([#​6755]) - task: add `JoinSet::join_all` ([#​6784]) ##### Added (unstable) - runtime: add `Builder::{on_task_spawn, on_task_terminate}` ([#​6742]) ##### Changed - io: use vectored io for `write_all_buf` when possible ([#​6724]) - runtime: prevent niche-optimization to avoid triggering miri ([#​6744]) - sync: mark mpsc types as `UnwindSafe` ([#​6783]) - sync,time: make `Sleep` and `BatchSemaphore` instrumentation explicit roots ([#​6727]) - task: use `NonZeroU64` for `task::Id` ([#​6733]) - task: include panic message when printing `JoinError` ([#​6753]) - task: add `#[must_use]` to `JoinHandle::abort_handle` ([#​6762]) - time: eliminate timer wheel allocations ([#​6779]) ##### Documented - docs: clarify that `[build]` section doesn't go in Cargo.toml ([#​6728]) - io: clarify zero remaining capacity case ([#​6790]) - macros: improve documentation for `select!` ([#​6774]) - sync: document mpsc channel allocation behavior ([#​6773]) [#​6589]: https://redirect.github.com/tokio-rs/tokio/pull/6589 [#​6724]: https://redirect.github.com/tokio-rs/tokio/pull/6724 [#​6727]: https://redirect.github.com/tokio-rs/tokio/pull/6727 [#​6728]: https://redirect.github.com/tokio-rs/tokio/pull/6728 [#​6731]: https://redirect.github.com/tokio-rs/tokio/pull/6731 [#​6733]: https://redirect.github.com/tokio-rs/tokio/pull/6733 [#​6742]: https://redirect.github.com/tokio-rs/tokio/pull/6742 [#​6744]: https://redirect.github.com/tokio-rs/tokio/pull/6744 [#​6753]: https://redirect.github.com/tokio-rs/tokio/pull/6753 [#​6755]: https://redirect.github.com/tokio-rs/tokio/pull/6755 [#​6762]: https://redirect.github.com/tokio-rs/tokio/pull/6762 [#​6773]: https://redirect.github.com/tokio-rs/tokio/pull/6773 [#​6774]: https://redirect.github.com/tokio-rs/tokio/pull/6774 [#​6779]: https://redirect.github.com/tokio-rs/tokio/pull/6779 [#​6783]: https://redirect.github.com/tokio-rs/tokio/pull/6783 [#​6784]: https://redirect.github.com/tokio-rs/tokio/pull/6784 [#​6790]: https://redirect.github.com/tokio-rs/tokio/pull/6790 </details> <details> <summary>unicode-rs/unicode-width (unicode-width)</summary> ### [`v0.1.14`](https://redirect.github.com/unicode-rs/unicode-width/compare/v0.1.13...v0.1.14) [Compare Source](https://redirect.github.com/unicode-rs/unicode-width/compare/v0.1.13...v0.1.14) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
231 lines
7.9 KiB
TOML
231 lines
7.9 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["apps/*", "crates/*", "napi/*", "tasks/*", "wasm/*"]
|
|
exclude = ["tasks/lint_rules"]
|
|
|
|
[workspace.package]
|
|
authors = ["Boshen <boshenc@gmail.com>", "Oxc contributors"]
|
|
categories = ["compilers", "development-tools", "web-programming"]
|
|
edition = "2021"
|
|
homepage = "https://oxc.rs"
|
|
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
|
|
license = "MIT"
|
|
repository = "https://github.com/oxc-project/oxc"
|
|
rust-version = "1.76" # Support last 6 minor versions.
|
|
description = "A collection of JavaScript tools written in Rust."
|
|
|
|
# <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html>
|
|
[workspace.lints.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)'] }
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
empty_docs = { level = "allow", priority = 1 } # From `Tsify`
|
|
# restriction
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
unimplemented = "warn"
|
|
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"
|
|
empty_drop = "warn"
|
|
empty_structs_with_brackets = "warn"
|
|
exit = "warn"
|
|
filetype_is_file = "warn"
|
|
get_unwrap = "warn"
|
|
impl_trait_in_params = "warn"
|
|
rc_buffer = "warn"
|
|
rc_mutex = "warn"
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
unnecessary_safety_comment = "warn"
|
|
undocumented_unsafe_blocks = "warn"
|
|
infinite_loop = "warn"
|
|
# I want to write the best Rust code so pedantic is enabled.
|
|
# We should only disable rules globally if they are either false positives, chaotic, or does not make sense.
|
|
pedantic = { level = "warn", priority = -1 }
|
|
# Allowed rules
|
|
# pedantic
|
|
# This rule is too pedantic, I don't want to force this because naming things are hard.
|
|
module_name_repetitions = "allow"
|
|
# All triggers are mostly ignored in our codebase, so this is ignored globally.
|
|
struct_excessive_bools = "allow"
|
|
too_many_lines = "allow"
|
|
# `#[must_use]` is creating too much noise for this codebase, it does not add much value
|
|
# except nagging the programmer to add a `#[must_use]` after clippy has been run.
|
|
# Having `#[must_use]` everywhere also hinders readability.
|
|
must_use_candidate = "allow"
|
|
# used_underscore_binding= "allow"
|
|
doc_markdown = "allow"
|
|
# nursery
|
|
# `const` functions do not make sense for our project because this is not a `const` library.
|
|
# This rule also confuses newcomers and forces them to add `const` blindlessly without any reason.
|
|
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
|
|
|
|
[workspace.dependencies]
|
|
# publish = true
|
|
oxc = { version = "0.29.0", path = "crates/oxc" }
|
|
oxc_allocator = { version = "0.29.0", path = "crates/oxc_allocator" }
|
|
oxc_ast = { version = "0.29.0", path = "crates/oxc_ast" }
|
|
oxc_ast_macros = { version = "0.29.0", path = "crates/oxc_ast_macros" }
|
|
oxc_cfg = { version = "0.29.0", path = "crates/oxc_cfg" }
|
|
oxc_codegen = { version = "0.29.0", path = "crates/oxc_codegen" }
|
|
oxc_diagnostics = { version = "0.29.0", path = "crates/oxc_diagnostics" }
|
|
oxc_index = { version = "0.29.0", path = "crates/oxc_index" }
|
|
oxc_isolated_declarations = { version = "0.29.0", path = "crates/oxc_isolated_declarations" }
|
|
oxc_mangler = { version = "0.29.0", path = "crates/oxc_mangler" }
|
|
oxc_minifier = { version = "0.29.0", path = "crates/oxc_minifier" }
|
|
oxc_module_lexer = { version = "0.29.0", path = "crates/oxc_module_lexer" }
|
|
oxc_parser = { version = "0.29.0", path = "crates/oxc_parser" }
|
|
oxc_regular_expression = { version = "0.29.0", path = "crates/oxc_regular_expression" }
|
|
oxc_semantic = { version = "0.29.0", path = "crates/oxc_semantic" }
|
|
oxc_sourcemap = { version = "0.29.0", path = "crates/oxc_sourcemap" }
|
|
oxc_span = { version = "0.29.0", path = "crates/oxc_span" }
|
|
oxc_syntax = { version = "0.29.0", path = "crates/oxc_syntax" }
|
|
oxc_transform_napi = { version = "0.29.0", path = "napi/transform" }
|
|
oxc_transformer = { version = "0.29.0", path = "crates/oxc_transformer" }
|
|
oxc_traverse = { version = "0.29.0", path = "crates/oxc_traverse" }
|
|
|
|
# publish = false
|
|
oxc_linter = { path = "crates/oxc_linter" }
|
|
oxc_macros = { path = "crates/oxc_macros" }
|
|
oxc_prettier = { path = "crates/oxc_prettier" }
|
|
oxc_tasks_common = { path = "tasks/common" }
|
|
|
|
napi = "3.0.0-alpha"
|
|
napi-build = "2.1.3"
|
|
napi-derive = "3.0.0-alpha"
|
|
|
|
aho-corasick = "1.1.3"
|
|
allocator-api2 = "0.2.18"
|
|
assert-unchecked = "0.1.2"
|
|
base64 = "0.22.1"
|
|
base64-simd = "0.8"
|
|
bitflags = "2.6.0"
|
|
bpaf = "0.9.12"
|
|
bumpalo = "3.16.0"
|
|
cfg-if = "1.0.0"
|
|
compact_str = "0.8.0"
|
|
console = "0.15.8"
|
|
convert_case = "0.6.0"
|
|
cow-utils = "0.1.3"
|
|
criterion2 = { version = "1.1.0", default-features = false }
|
|
daachorse = { version = "1.0.0" }
|
|
dashmap = "6.0.1"
|
|
encoding_rs = "0.8.34"
|
|
encoding_rs_io = "0.1.7"
|
|
env_logger = { version = "0.11.5", default-features = false }
|
|
flate2 = "1.0.31"
|
|
futures = "0.3.30"
|
|
glob = "0.3.1"
|
|
globset = "0.4.14"
|
|
handlebars = "6.0.0"
|
|
humansize = "2.1.3"
|
|
ignore = "0.4.22"
|
|
indexmap = "2.3.0"
|
|
insta = "1.39.0"
|
|
itertools = "0.13.0"
|
|
itoa = "1.0.11"
|
|
jemallocator = "0.5.4"
|
|
json-strip-comments = "1.0.4"
|
|
language-tags = "0.3.2"
|
|
lazy_static = "1.5.0"
|
|
log = "0.4.22"
|
|
memchr = "2.7.4"
|
|
memoffset = "0.9.1"
|
|
miette = { version = "7.2.0", features = ["fancy-no-syscall"] }
|
|
mimalloc = "0.1.43"
|
|
mime_guess = "2.0.5"
|
|
nonmax = "0.5.5"
|
|
num-bigint = "0.4.6"
|
|
num-traits = "0.2.19"
|
|
once_cell = "1.19.0"
|
|
owo-colors = "4.0.0"
|
|
oxc-browserslist = "1.0.3"
|
|
oxc_resolver = "1.10.2"
|
|
petgraph = "0.6.5"
|
|
phf = "0.11.2"
|
|
pico-args = "0.5.0"
|
|
prettyplease = "0.2.20"
|
|
proc-macro2 = "1.0.86"
|
|
project-root = "0.2.2"
|
|
quote = "1.0.36"
|
|
rayon = "1.10.0"
|
|
regex = "1.10.6"
|
|
ropey = "1.6.1"
|
|
rust-lapper = "1.1.0"
|
|
rustc-hash = "2.*"
|
|
ryu-js = "1.0.1"
|
|
saphyr = "0.0.1"
|
|
schemars = "0.8.21"
|
|
seq-macro = "0.3.5"
|
|
serde = "1.0.206"
|
|
serde-wasm-bindgen = "0.6.5"
|
|
serde_json = "1.0.124"
|
|
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
|
|
similar = "2.6.0"
|
|
syn = { version = "2.0.74", default-features = false }
|
|
tempfile = "3.12.0"
|
|
textwrap = "0.16.1"
|
|
tokio = "1.39.2"
|
|
tower-lsp = "0.20.0"
|
|
tracing-subscriber = "0.3.18"
|
|
tsify = "0.4.5"
|
|
unicode-id-start = "1" # Relaxed version so the user can decide which unicode version to use.
|
|
unicode-width = "0.1.13"
|
|
ureq = { version = "2.10.1", default-features = false }
|
|
url = "2.5.2"
|
|
walkdir = "2.5.0"
|
|
wasm-bindgen = "0.2.92"
|
|
|
|
[workspace.metadata.cargo-shear]
|
|
ignored = ["napi", "oxc_transform_napi", "prettyplease"]
|
|
|
|
[profile.dev]
|
|
# Disabling debug info speeds up local and CI builds,
|
|
# and we don't rely on it for debugging that much.
|
|
debug = false
|
|
|
|
[profile.dev.package]
|
|
# Compile macros with some optimizations to make consuming crates build faster
|
|
oxc_macros.opt-level = 1
|
|
oxc_ast_macros.opt-level = 1
|
|
# Compile insta and its dependencies in release mode for faster snapshot tests
|
|
# See: https://insta.rs/docs/quickstart/#optional-faster-runs
|
|
insta.opt-level = 3
|
|
similar.opt-level = 3
|
|
|
|
[profile.release.package.oxc_wasm]
|
|
opt-level = 'z'
|
|
|
|
[profile.release]
|
|
# Configurations explicitly listed here for clarity.
|
|
# Using the best options for performance.
|
|
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
|
|
|
|
# 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
|
|
debug-assertions = true # Make sure `debug_assert!`s pass
|
|
overflow-checks = true # Catch arithmetic overflow errors
|
|
incremental = true
|