-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (36 loc) · 804 Bytes
/
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
[workspace]
package.edition = "2021"
package.license = "MIT"
resolver = "2"
members = [
"zint-wasm-sys",
"zint-wasm-rs",
"zint-typst-plugin",
"zint-typst-plugin/vendor/wasm-minimal-protocol/crates/macro",
"zint-typst-plugin/vendor/wasm-minimal-protocol/crates/wasi-stub",
"xtask"
]
default-members = [
"zint-wasm-sys",
"zint-wasm-rs",
"zint-typst-plugin",
]
[profile.release]
# Enable link-time optimization
lto = true
# Strip symbols from binary
strip = true
[profile.plugin-debug]
inherits = "dev"
# Abort on panic
panic = 'abort'
[profile.plugin-release]
inherits = "release"
# Optimize for size
opt-level = 'z'
# Reduce number of codegen units to increase optimizations
codegen-units = 1
# Abort on panic
panic = 'abort'
[workspace.dependencies]
walkdir = "2"