-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (34 loc) · 1.15 KB
/
Cargo.toml
File metadata and controls
40 lines (34 loc) · 1.15 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
[package]
name = "oxc-node"
version = "0.0.0"
authors = ["LongYinan <[email protected]>"]
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { version = "3.5.1", default-features = false, features = ["serde-json", "napi3"] }
napi-derive = { version = "3.3.2", default-features = false, features = ["type-def"] }
oxc = { version = "0.116.0", features = [
"codegen",
"transformer",
"semantic",
"regular_expression",
] }
oxc_resolver = { version = "11.13.1" }
phf = "0.13"
serde_json = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = [
"std",
"fmt",
] } # Omit the `regex` feature
[target.'cfg(all(not(target_os = "linux"), not(target_os = "freebsd"), not(target_arch = "arm"), not(target_arch = "x86"), not(target_family = "wasm")))'.dependencies]
mimalloc-safe = { version = "0.1", features = ["skip_collect_on_exit"] }
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
mimalloc-safe = { version = "0.1", features = ["skip_collect_on_exit", "local_dynamic_tls"] }
[build-dependencies]
napi-build = "2"
[profile.release]
codegen-units = 1
lto = true
strip = "symbols"