-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (52 loc) · 2.08 KB
/
Copy pathCargo.toml
File metadata and controls
68 lines (52 loc) · 2.08 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "factory_management_utils"
version = "0.1.1"
authors = ["Sylvana Ieri <sieri@windowslive.com>"]
edition = "2021"
rust-version = "1.65"
[dependencies]
egui = "0.21.0"
eframe = { version = "0.21.3", default-features = false, features = [
"accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
] }
# serializazion for app persistancy and file saves:
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.91"
# logging
log = "0.4.17"
# clipboard management
copypasta = "0.8.1"
# numeric traits for the generics
num-traits = "0.2.15"
# itertools for help iterations
itertools = "0.10.5"
# uuid for generating unique ids each runs
uuid = {version="1.3.0", features=["v4"]}
# ----------native:----------------------------------------------------------------------
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = "0.3"
# rusty file dialogs to open file dialogues
rfd = {version = "0.11.2", features = ["default"]}
fern = {version="0.6.1", features = ["colored"]}
chrono = "0.4.24"
# --------web:---------------------------------------------------------------------------
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"
wasm-bindgen-futures = "0.4"
getrandom = { version = "0.2", features = ["js"] } # fix support for a UUID dependencies
[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" }