forked from Liam-Wirth/cellular-automata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (34 loc) · 1.23 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
[package]
name = "cellular_automata"
version = "0.0.10"
authors = ["Liam Wirth"]
edition = "2021"
rust-version = "1.72"
[dependencies]
egui = "0.26.0"
eframe = { version = "0.26.0", default-features = false, features = ["accesskit", "default_fonts", "glow", "persistence"] }
log = "0.4"
# You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] }
instant = { version = "0.1.12", features = ["wasm-bindgen", "inaccurate"] }
rand = "0.8.5"
getrandom = { version = "0.2.12", features = ["js"] }
ttf-parser = "0.20.0"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.10"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[patch.crates-io]
# If you want to use the bleeding edge version of egui and eframe:
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
# If you fork https://github.com/emilk/egui you can test with:
# egui = { path = "../egui/crates/egui" }
# eframe = { path = "../egui/crates/eframe" }