-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
53 lines (46 loc) · 1.2 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "icfpc2022"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["rlib", "cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
getrandom = { version = "*", features = ["js"] }
indicatif = "0.17.0"
itertools = "0.10.3"
once_cell = "1.13.1"
png = "0.17.5"
rand = "0.8.5"
rayon = "1.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.13.0"
anyhow = { version="1.0", features = ["backtrace"] }
glob = "0.3"
ordered-float = "3.0"
clap = { version = "3.2.20", features = ["derive"] }
svg = "0.10.0"
[features]
default = ["console_error_panic_hook", "wee_alloc"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = { version = "*", optional = true }
wasm-bindgen = { version = "*", features = ["serde-serialize"] }
wee_alloc = { version = "*", optional = true }
web-sys = { version = "*", features = [
"CanvasRenderingContext2d",
"Document",
"Element",
"HtmlCanvasElement",
"HtmlImageElement",
"ImageBitmap",
"ImageData",
"Node",
"NodeList",
"Window",
"console",
] }
[profile.release]
debug = true
[profile.release.'cfg(target_arch = "wasm32")']
lto = true