-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (44 loc) · 1.35 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (44 loc) · 1.35 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
[workspace]
members = ["crates/*", "example"]
metadata = { crane.name = "wasm2nix" }
resolver = "3"
[workspace.package]
edition = "2024"
version = "0.1.0"
[workspace.dependencies]
clap = { version = "4.6.1", features = ["derive"] }
cranelift-codegen = "0.112.3"
cranelift-entity = "0.112.3"
cranelift-frontend = "0.112.3"
cranelift-wasm = "0.112.3"
hex = { version = "0.4.3", features = ["alloc"] }
pretty = "0.12.5"
proc-macro2 = "1.0.106"
quote = "1.0.45"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0"
snafu = "0.9.1"
syn = "2.0.117"
target-lexicon = "0.12.16"
tempfile = "3.27.0"
wast = "251.0.0"
[workspace.dependencies.wasmparser]
features = ["features"]
version = "0.217.1"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[workspace.lints.rust]
warnings = "warn"
unsafe_code = "deny"
unused_extern_crates = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
inline_always = "allow"
multiple_crate_versions = "allow"