generated from napi-rs/package-template-pnpm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (33 loc) · 943 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]
members = ["crates/panic"]
[workspace.dependencies]
napi = { version = "3.0.0-alpha", features = ["anyhow"] }
napi-build = "2"
napi-derive = "3.0.0-alpha"
rustc-demangle = "0.1"
uuid = { version = "1", default-features = false, features = ["v4"] }
walrus = "0.23"
[package]
authors = ["LongYinan <[email protected]>"]
edition = "2021"
name = "napi-wasmtools"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { workspace = true }
napi-derive = { workspace = true }
rustc-demangle = { workspace = true }
uuid = { workspace = true }
walrus = { workspace = true }
[build-dependencies]
napi-build = { workspace = true }
[profile.release]
codegen-units = 1
lto = true
[profile.wasm-fixture]
inherits = "release"
opt-level = 'z'
overflow-checks = false
panic = 'abort'
strip = false