-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
72 lines (66 loc) · 2.21 KB
/
Cargo.toml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[workspace]
members = [
"crates/intl_database_core",
"crates/intl_database_exporter",
"crates/intl_database_js_source",
"crates/intl_database_json_source",
"crates/intl_database_service",
"crates/intl_database_types_generator",
"crates/intl_message_database",
"crates/intl_markdown",
"crates/intl_markdown_macros",
"crates/intl_markdown_visitor",
"crates/intl_message_utils",
"crates/intl_validator",
"crates/keyless_json",
"packages/swc-intl-message-transformer",
]
resolver = "2"
[workspace.dependencies]
intl_database_core = { path = "./crates/intl_database_core" }
intl_database_exporter = { path = "./crates/intl_database_exporter" }
intl_database_js_source = { path = "./crates/intl_database_js_source" }
intl_database_json_source = { path = "./crates/intl_database_json_source" }
intl_database_service = { path = "./crates/intl_database_service" }
intl_database_types_generator = { path = "./crates/intl_database_types_generator" }
intl_markdown = { path = "./crates/intl_markdown" }
intl_markdown_macros = { path = "./crates/intl_markdown_macros" }
intl_markdown_visitor = { path = "./crates/intl_markdown_visitor" }
intl_message_database = { path = "./crates/intl_message_database" }
intl_message_utils = { path = "./crates/intl_message_utils" }
intl_validator = { path = "./crates/intl_validator" }
keyless_json = { path = "./crates/keyless_json" }
anyhow = "1"
ignore = "0.4.19"
mimalloc = { version = "0.1", features = ["local_dynamic_tls"] }
napi = { version = "3.0.0-alpha.8", features = ["error_anyhow", "serde-json"] }
rustc-hash = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
threadpool = "1.8.1"
unescape_zero_copy = "2.1.1"
unicode-xid = "0.2.6"
xxhash-rust = { version = "0.8.10", features = ["xxh64"] }
ustr = { version = "1.0.0", features = ["serde"] }
memchr = "2.7.4"
once_cell = "1.19.0"
[profile.release-profiling]
inherits = "release"
codegen-units = 1
lto = true
# Optimize for performance
opt-level = 3
debug = true
strip = false
panic = "abort"
[profile.release]
codegen-units = 1
lto = true
# Optimize for performance
opt-level = 3
# Strip debug symbols
strip = "symbols"
panic = "abort"
[workspace.metadata.cross.build]
zig = "2.17"