swc/Cargo.toml

171 lines
5.5 KiB
TOML
Raw Normal View History

2017-12-22 15:51:36 +03:00
[workspace]
members = [
2023-10-05 11:34:51 +03:00
"xtask",
"crates/swc_allocator",
"crates/swc_core",
"crates/swc_cli_impl",
2022-05-13 09:05:21 +03:00
"crates/dbg-swc",
"crates/jsdoc",
"crates/binding_macros",
2021-11-12 13:37:05 +03:00
"crates/swc_css",
"crates/swc_css_lints",
"crates/swc_css_prefixer",
2021-11-12 13:37:05 +03:00
"crates/swc_ecmascript",
"crates/swc_ecma_lints",
"crates/swc_ecma_quote",
"crates/swc_estree_compat",
2022-04-04 07:12:45 +03:00
"crates/swc_html",
2021-11-09 14:42:49 +03:00
"crates/swc_plugin",
"crates/swc_plugin_macro",
2021-11-09 14:42:49 +03:00
"crates/swc_plugin_runner",
"crates/swc_plugin_testing",
"crates/swc_plugin_proxy",
"crates/swc_timer",
2022-08-01 06:56:12 +03:00
"crates/swc_xml",
"crates/swc_x_optimizer",
"crates/swc_transform_common",
"crates/swc_typescript",
"crates/swc_fast_ts_strip",
"tools/generate-code",
"tools/swc-releaser",
]
resolver = "2"
[workspace.package]
license = "Apache-2.0"
repository = "https://github.com/swc-project/swc.git"
[workspace.dependencies]
# bytecheck version should be in sync with rkyv version. Do not bump individually.
bytecheck = "0.6.10"
fix(deps): update cargo (patch) (#9454) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [backtrace](https://redirect.github.com/rust-lang/backtrace-rs) | dependencies | patch | `0.3.73` -> `0.3.74` | | [backtrace](https://redirect.github.com/rust-lang/backtrace-rs) | workspace.dependencies | patch | `0.3.73` -> `0.3.74` | | [rkyv](https://redirect.github.com/rkyv/rkyv) | workspace.dependencies | patch | `=0.7.44` -> `=0.7.45` | | [stacker](https://redirect.github.com/rust-lang/stacker) | dependencies | patch | `0.1.15` -> `0.1.17` | | [swc_cli_impl](https://redirect.github.com/swc-project/swc) | workspace.dependencies | patch | `0.24.0` -> `0.24.1` | | [unicode-id](https://redirect.github.com/Boshen/unicode-id) | workspace.dependencies | patch | `0.3.4` -> `0.3.5` | | [unicode-width](https://redirect.github.com/unicode-rs/unicode-width) | workspace.dependencies | patch | `0.1.13` -> `0.1.14` | --- ### Release Notes <details> <summary>rust-lang/backtrace-rs (backtrace)</summary> ### [`v0.3.74`](https://redirect.github.com/rust-lang/backtrace-rs/releases/tag/0.3.74) [Compare Source](https://redirect.github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74) #### What's Changed - QNX Neutrino 7.0 support, thanks to [@&#8203;nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/648](https://redirect.github.com/rust-lang/backtrace-rs/pull/648) - Cleaned up our Android support. This should massively improve backtraces for ones with the API level sufficient to ship with libunwind, etc. Unfortunately, it comes at the cost of dropping support for older ones! Thanks to [@&#8203;fengys](https://redirect.github.com/fengys) in [https://github.com/rust-lang/backtrace-rs/pull/656](https://redirect.github.com/rust-lang/backtrace-rs/pull/656) - Made PrintFmt, which was using the `Enum::__NonExhaustiveVariant` pattern, use `#[non_exhaustive]` for real. Don't @&#8203; me if you were matching on that! Thanks to [@&#8203;nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/651](https://redirect.github.com/rust-lang/backtrace-rs/pull/651) - Massively cleaned up the windows code! We moved from winapi to windows-sys with windows-targets thanks to [@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) and [@&#8203;ChrisDenton](https://redirect.github.com/ChrisDenton) in - Don't cast HANDLE to usize and back by [@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) in [https://github.com/rust-lang/backtrace-rs/pull/635](https://redirect.github.com/rust-lang/backtrace-rs/pull/635) - Switch from `winapi` to `windows-sys` by [@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) in [https://github.com/rust-lang/backtrace-rs/pull/641](https://redirect.github.com/rust-lang/backtrace-rs/pull/641) - Update windows bindings and use windows-targets by [@&#8203;ChrisDenton](https://redirect.github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/653](https://redirect.github.com/rust-lang/backtrace-rs/pull/653) - A bunch of updated dependencies. Thanks [@&#8203;djc](https://redirect.github.com/djc) and [@&#8203;khuey](https://redirect.github.com/khuey)! - Sorry if you were testing this code in miri! It started yelling about sussy casts. A lot. We did a bunch of internal cleanups that should make it quiet down, thanks to [@&#8203;workingjubilee](https://redirect.github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/641](https://redirect.github.com/rust-lang/backtrace-rs/pull/641) - Uhhh we had to tweak `dl_iterate_phdr` in [https://github.com/rust-lang/backtrace-rs/pull/660](https://redirect.github.com/rust-lang/backtrace-rs/pull/660) after Android revealed it was... kind of unsound actually and not doing things like checking for null pointers before making slices! WHOOPS! Thanks to [@&#8203;saethlin](https://redirect.github.com/saethlin) for implementing detection for precisely that in rustc! It's really hard to find soundness issues in inherited codebases like this one... #### New Contributors - [@&#8203;CraftSpider](https://redirect.github.com/CraftSpider) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/635](https://redirect.github.com/rust-lang/backtrace-rs/pull/635) - [@&#8203;fengys1996](https://redirect.github.com/fengys1996) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/656](https://redirect.github.com/rust-lang/backtrace-rs/pull/656) - [@&#8203;djc](https://redirect.github.com/djc) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/657](https://redirect.github.com/rust-lang/backtrace-rs/pull/657) **Full Changelog**: https://github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74 </details> <details> <summary>rust-lang/stacker (stacker)</summary> ### [`v0.1.17`](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.16...stacker-0.1.17) [Compare Source](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.16...stacker-0.1.17) ### [`v0.1.16`](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.15...stacker-0.1.16) [Compare Source](https://redirect.github.com/rust-lang/stacker/compare/stacker-0.1.15...stacker-0.1.16) </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 - At any time (no schedule defined), 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/swc-project/swc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 06:12:42 +03:00
rkyv = "=0.7.45"
Inflector = "0.11.4"
ahash = "0.8.8"
allocator-api2 = "0.2.18"
ansi_term = "0.12.1"
anyhow = "1.0.81"
arbitrary = "1"
arrayvec = "0.7.4"
assert_cmd = "2.0.12"
assert_fs = "1.0.13"
auto_impl = "1.2.0"
backtrace = "0.3.61"
base64 = "0.21.0"
bitflags = "2.5.0"
browserslist-rs = "0.16.0"
bumpalo = "3.16.0"
cargo_metadata = "0.18.1"
cfg-if = "1.0.0"
changesets = "0.2.2"
chrono = "0.4.38"
codspeed-criterion-compat = "2.6.0"
console_error_panic_hook = "0.1.7"
copyless = "0.1.5"
crc = "2.1.0"
criterion = "0.5.1"
crossbeam-queue = "0.3.11"
dashmap = "5.5.3"
dialoguer = "0.10.2"
difference = "2"
either = "1.10.0"
enumset = "1.1.2"
flate2 = "1.0"
futures = "0.3"
glob = "0.3.0"
hashbrown = "0.14.5"
hex = "0.4.3"
2024-10-04 07:47:10 +03:00
hstr = "0.2.12"
indexmap = "2.0.0"
is-macro = "0.3.5"
js-sys = "0.3.59"
jsonc-parser = "0.21.0"
lazy_static = "1.4.0"
lexical = "6.1.0"
lru = "0.10.0"
memchr = "2.6.1"
miette = "7.2.0"
napi = { version = "2.0.0", default-features = false }
napi-derive = { version = "2.0.0", default-features = false }
new_debug_unreachable = "1.0.6"
nom = "7.1.3"
ntest = "0.7.2"
num-bigint = "0.4.3"
num-traits = "0.2.15"
num_cpus = "1.13.1"
once_cell = "1.19.0"
parking_lot = "0.12.1"
path-absolutize = "3.0.11"
pathdiff = "0.2.1"
petgraph = "0.6.0"
phf = "0.11.2"
pretty_assertions = "1.3"
proc-macro2 = "1.0.24"
ptr_meta = "0.1.4"
quote = "1.0.7"
radix_fmt = "1.0.0"
rayon = "1.7.0"
regex = "1.5.4"
relative-path = "1.6.1"
reqwest = "0.11.14"
rustc-hash = "1.1.0"
ryu-js = "1.0.0"
scoped-tls = "1.0.1"
semver = "1.0.20"
serde = "1.0.197"
serde-wasm-bindgen = "0.4.5"
serde_derive = "1.0.197"
serde_json = "1.0.115"
sha1 = "0.10.6"
sha2 = "0.10.8"
siphasher = "0.3.9"
smallvec = "1.8.0"
smartstring = "1"
sourcemap = "9.0.0"
st-map = "0.2.0"
syn = "2"
tempfile = "3.6.0"
termcolor = "1.0"
thiserror = "1.0.30"
tokio = { version = "1", default-features = false }
toml = "0.8.2"
tracing = "0.1.40"
tracing-chrome = "0.5.0"
tracing-futures = "0.2.5"
tracing-subscriber = "0.3.18"
triomphe = "0.1.13"
typed-arena = "2.0.1"
unicode-id = "0.3"
unicode-id-start = "1.2.0"
unicode-width = "0.1.4"
url = "2.4.0"
vergen = { version = "9.0.0", default-features = false }
virtual-fs = { version = "0.16.0", default-features = false }
walkdir = "2.4.0"
wasm-bindgen = "0.2.91"
wasm-bindgen-futures = "0.4.41"
wasmer = { version = "4.3.7", default-features = false }
wasmer-wasix = { version = "0.27.0", default-features = false }
[profile.release]
lto = true
# We use CARGO_PROFILE_RELEASE_LTO for production builds
# lto = "fat"
2020-05-23 09:36:04 +03:00
# debug = true
# opt-level = 'z'
[profile.bench]
2020-09-18 08:29:50 +03:00
debug = true
lto = true
# Optimize for iteration
[profile.dev.build-override]
opt-level = 3
[profile.dev.package."*"]
opt-level = 3