oxc/Cargo.toml
2023-04-05 21:11:12 +08:00

63 lines
1.7 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]
oxc_allocator = { version = "0.0.1", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.0.4", path = "crates/oxc_ast" }
oxc_diagnostics = { version = "0.0.4", path = "crates/oxc_diagnostics" }
oxc_parser = { version = "0.0.4", path = "crates/oxc_parser" }
oxc_printer = { version = "0.0.3", path = "crates/oxc_printer" }
oxc_semantic = { version = "0.0.3", path = "crates/oxc_semantic" }
oxc_linter = { version = "0.0.0", path = "crates/oxc_linter" }
oxc_macros = { version = "0.0.0", path = "crates/oxc_macros" }
jemallocator = "0.5.0"
mimalloc = "0.1.35"
bitflags = "1.3.2"
bumpalo = "3.12.0"
compact_str = "0.7.0"
miette = "5.7.0"
rayon = "1.7.0"
rustc-hash = "1.1.0"
serde = "1.0.159"
serde_json = "1.0.95"
thiserror = "1.0.40"
clap = "4.2.1"
indextree = "4.6.0"
glob = "0.3.1"
lazy_static = "1.4.0"
[workspace.metadata.workspaces]
independent = true
allow_branch = "main"
[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