-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (43 loc) · 1.6 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
[package]
name = "log_viewer"
version = "0.3.3"
edition = "2021"
[dependencies]
anyhow = "1.0.95"
eframe = { version = "0.30", default-features = false, features = [ #
"accesskit", # Make egui compatible 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.
"wayland", # To support Linux (and CI)
"x11",] }
egui = "0.30"
egui_extras = "0.30"
futures = "0.3.31"
rfd = { version = "0.15.2", default-features = false, features = ["gtk3", "tokio"] }
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.135"
tracing = "0.1.41"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
poll-promise = { version = "0.3.0", features = ["tokio"] }
tokio = { version = "1.43", default-features = false } # I suspect features are brought in with poll-promise (not able to separate out to see what we need)
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
log = "0.4.24"
poll-promise = { version = "0.3.0", features = ["web"] }
wasm-bindgen-futures = "0.4.49"
web-sys = "0.3.76"
[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]
[dev-dependencies]
insta = { version = "1.42", features = ["ron", "glob", "yaml"] }
pretty_assertions = "1.4.1"
ron = "0.8.1"
rstest = "0.24"
strum = { version = "0.26.3", features = ["derive"] }