-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (29 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
35 lines (29 loc) · 1.09 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
[package]
authors = ["magic-akari <akari.ccino@gmail.com>"]
description = "A WASM Based WGSL Formatter"
name = "wgslfmt"
edition = "2024"
homepage = "https://github.com/wasm-fmt/wgslfmt"
keywords = ["wasm", "wgsl", "formatter", "webgpu"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/wasm-fmt/wgslfmt"
version = "0.1.0"
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Os", "--enable-bulk-memory", "--enable-nontrapping-float-to-int"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6"
wasm-bindgen = "0.2.113"
wgsl-formatter = { git = "https://github.com/wgsl-analyzer/wgsl-analyzer.git" }
[lib]
crate-type = ["cdylib", "rlib"]
[dev-dependencies]
insta = { version = "1.43", features = ["glob"] }
[profile.release]
codegen-units = 1
debug = false # set to `true` for debug information
lto = true
opt-level = "s"
panic = "abort" # Let it crash and force ourselves to write safe Rust.
strip = "symbols" # set to `false` for debug information