oxc/Cargo.toml
2023-07-21 11:38:12 +08:00

104 lines
4.1 KiB
TOML

[workspace]
resolver = "2"
members = ["crates/*", "tasks/*"]
[workspace.package]
authors = ["Boshen <boshenc@gmail.com>", "Oxc contributors"]
description = "Oxc is a JavaScript / TypeScript parser with full Test262 conformance."
edition = "2021"
homepage = "https://github.com/Boshen/oxc"
keywords = ["JavaScript", "TypeScript", "parser"]
license = "MIT"
repository = "https://github.com/Boshen/oxc"
[workspace.dependencies]
# Release:
# * Edit these versions, commit
# * cargo ws version --amend --no-git-tag --no-git-push
# publish = true
oxc_allocator = { version = "0.0.7", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.0.7", path = "crates/oxc_ast" }
oxc_ast_lower = { version = "0.0.7", path = "crates/oxc_ast_lower" }
oxc_diagnostics = { version = "0.0.7", path = "crates/oxc_diagnostics" }
oxc_formatter = { version = "0.0.7", path = "crates/oxc_formatter" }
oxc_hir = { version = "0.0.7", path = "crates/oxc_hir" }
oxc_index = { version = "0.0.7", path = "crates/oxc_index" }
oxc_minifier = { version = "0.0.7", path = "crates/oxc_minifier" }
oxc_parser = { version = "0.0.7", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.0.7", path = "crates/oxc_semantic" }
oxc_span = { version = "0.0.7", path = "crates/oxc_span" }
oxc_syntax = { version = "0.0.7", path = "crates/oxc_syntax" }
# publish = false
oxc_macros = { path = "crates/oxc_macros" }
oxc_linter = { path = "crates/oxc_linter" }
oxc_type_synthesis = { path = "crates/oxc_type_synthesis" }
oxc_resolver = { path = "crates/oxc_resolver" }
oxc_tasks_common = { path = "tasks/common" }
bitflags = { version = "2.3.3" }
bumpalo = { version = "3.13.0" }
clap = { version = "4.3.17" }
compact_str = { version = "0.7.1" }
convert_case = { version = "0.6.0" }
criterion = { version = "0.5.1", default-features = false }
crossbeam-channel = { version = "0.5.8" }
dashmap = { version = "5.5.0" }
flate2 = { version = "1.0.26" }
glob = { version = "0.3.1" }
ignore = { version = "0.4.20" }
indextree = { version = "4.6.0" }
itertools = { version = "0.10.5" }
jemallocator = { version = "0.5.0" }
lazy_static = { version = "1.4.0" }
miette = { version = "5.10.0" }
mimalloc = { version = "0.1.37" }
nodejs-resolver = { version = "0.0.88" }
num-bigint = { version = "0.4.3" }
num-traits = { version = "0.2.16" }
phf = { version = "0.11" }
pico-args = { version = "0.5.0" }
proc-macro2 = { version = "1.0.66" }
project-root = { version = "0.2.2" }
quote = { version = "1.0.31" }
rayon = { version = "1.7.0" }
regex = { version = "1.9.1" }
rustc-hash = { version = "1.1.0", default-features = false, features = ["std"] }
ryu-js = { version = "0.2.2" }
serde = { version = "1.0.173" }
serde_json = { version = "1.0.103" }
syn = { version = "1.0.109" }
thiserror = { version = "1.0.43" }
tokio = { version = "1" }
unicode-id-start = { version = "1.1.0" }
ureq = { version = "2.7.1", default-features = false, features = ["tls"] }
url = { version = "2.4.0" }
walkdir = { version = "2.3.3" }
indexmap = { version = "1.9.3" }
index_vec = { version = "0.1.3" }
static_assertions = { version = "1.1.0" }
stacker = { version = "0.1.15" }
[workspace.metadata.workspaces]
allow_branch = "main"
[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"
debug = false
panic = "abort" # Let it crash and force ourselves to write safe Rust.
# Use the `--profile release-debug` flag to show symbols in release mode.
# e.g. `cargo build --profile release-debug`
[profile.release-debug]
inherits = "release"
strip = false
debug = true