generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (70 loc) · 2.46 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "eframe_sc2"
version = "0.1.0"
authors = ["Seb Ospina <kraige@gmail.com>"]
edition = "2021"
rust-version = "1.83"
[dependencies]
egui = { version = "0.29", features = ["mint", "log"] }
eframe = { version = "0.29", 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.
] }
log = "0.4"
s2protocol = { path = "../s2protocol-rs", features = ["arrow"] }
rfd = "0.15"
egui_plot = "0.29"
egui_extras = { version = "0.29", features = ["puffin", "datepicker", "serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.91"
ehttp = { version = "0.5", features = ["native-async"] }
urlencoding = "2.1.3"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11"
poll-promise = { version = "0.3", features = ["tokio"] }
tokio = { version = "1", features = ["full"] }
axum = { version = "0.7", features = ["ws"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
polars = { version = "0.45", features = [
"docs-selection",
"trigonometry",
"regex",
"strings",
"top_k",
] }
tracing = "0.1"
clap = { version = "4.4", features = ["derive"] }
thiserror = "2.0"
chrono = { version = "0.4.38", features = ["serde"] }
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["fs", "trace"] }
hyper = { version = "1.5", features = ["full"] }
hyper-util = "0.1"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
chrono = "0.4.38"
wasm-bindgen-futures = "0.4"
poll-promise = { version = "0.3", features = ["web"] }
tokio = { version = "1", features = [
"sync",
"macros",
"io-util",
"rt",
"time",
] }
web-sys = "0.3.70" # to access the DOM
[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" }