-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (51 loc) · 2.42 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (51 loc) · 2.42 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[workspace]
resolver = "3"
members = ["crates/*"]
[workspace.package]
authors = ["Astro contributors"]
edition = "2024"
license = "MIT"
repository = "https://github.com/withastro/compiler"
rust-version = "1.91.0"
[workspace.dependencies]
# Local crates
astro_codegen = { path = "crates/astro_codegen" }
# oxc dependencies via git
# All must come from the same git source to avoid duplicate crate issues.
# Crates with Astro-specific changes: oxc_ast, oxc_ast_visit, oxc_codegen, oxc_parser, oxc_span
# Crates without changes (but must match source): oxc_allocator, oxc_data_structures, oxc_diagnostics, oxc_syntax
oxc_allocator = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_ast = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_estree = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_ast_visit = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_codegen = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a", default-features = false }
oxc_data_structures = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_diagnostics = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_parser = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a", features = [
"regular_expression",
] }
oxc_semantic = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_span = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_syntax = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_transformer = { git = "https://github.com/withastro/oxc", rev = "8bb526fc0c20beb4649b223d3ac39851505caa5a" }
oxc_sourcemap = "6.0.1"
# NAPI
napi = { version = "3", features = ["tokio_rt"] }
napi-build = "2"
napi-derive = "3"
# External
cow-utils = "0.1.3"
lightningcss = { version = "1.0.0-alpha.72", features = ["visitor", "into_owned"], default-features = false }
divan = "0.1"
rustc-hash = "2"
insta = "1.43.2"
mimalloc-safe = "0.1.56"
[profile.dev]
debug = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"
debug = false
panic = "abort"