-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (38 loc) · 1.33 KB
/
Cargo.toml
File metadata and controls
41 lines (38 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "wl-extractor"
version = "0.1.0"
edition = "2024"
[dependencies]
swc_core = { version = "58.0.*", features = ["common", "ecma_ast", "ecma_parser", "ecma_visit", "common_tty", "ecma_codegen", "__ecma", "swc_ecma_ast", "ecma_plugin_transform"] }
glob = "0.3.1"
anyhow = "1.0"
serde = "1.0.220"
serde_json = "1.0.149"
swc_ecma_utils = "27.0.0"
pathdiff = "0.2.3"
lalrpop-util = "0.23.1"
[dev-dependencies]
testing = "20.0.0"
insta = {version = "1.46.3", features = ["yaml", "redactions"] }
tempfile = "3.27.0"
walkdir = "2.5.0"
# Strictly pin biome crates
biome_js_parser = "=0.5.7"
biome_js_syntax = "=0.5.7"
biome_js_formatter = "=0.5.7"
biome_formatter = "=0.5.7"
biome_rowan = "=0.5.7"
biome_json_syntax = "=0.5.7"
biome_console = "=0.5.7"
biome_diagnostics = "=0.5.7"
biome_parser = "=0.5.7"
biome_text_edit= "=0.5.7"
biome_text_size = "=0.5.7"
biome_unicode_table= "=0.5.7"
lalrpop = "0.23.1"
[profile.release]
opt-level = 3 # (Default) All out speed optimization
lto = true # Link Time Optimization. Massive speed boost, but slower to compile.
codegen-units = 1 # Forces Rust to optimize the entire crate as one unit.
panic = "abort" # Strips out stack-unwinding code. Makes the binary smaller and slightly faster.
strip = true # Automatically strips symbols from the binary, massively reducing file size!