-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (28 loc) · 695 Bytes
/
Cargo.toml
File metadata and controls
35 lines (28 loc) · 695 Bytes
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
[package]
name = "maple"
version = "0.1.1"
edition = "2021"
rust-version = "1.80"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
clap = { version = "4", features = ["derive"] }
image = "0.25"
eyre = "0.6"
color-eyre = "0.6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
maple-render-core = { path = "crates/maple-render-core", version = "0.1.2" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
serde-wasm-bindgen = "0.6"
[[bin]]
name = "maple"
path = "src/main.rs"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mimalloc]
version = "0.1"
default-features = false