-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
41 lines (32 loc) · 976 Bytes
/
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
[package]
name = "rex"
version = "0.1.0"
edition = "2018"
authors = ["Adrian Castro <adrifcastr@gmail.com>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "rex"
path = "src/lib.rs"
[dependencies]
graphql_client = "0.11.0"
serde = "1.0.130"
serde_json = "1.0.68"
egui = "0.19.0"
egui_extras = { version = "0.19.0", features = ["svg", "image"] }
ehttp = "0.2.0"
eframe = { version = "0.19.0", features = ["persistence"] }
voca_rs = "1.14.0"
image = { version = "0.23", features = ["jpeg", "png"] }
imagenew = { package= "image", version = "0.24.4", features = ["jpeg", "png"] }
poll-promise = "0.1.0"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = "0.3"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.78"
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"
[profile.release]
opt-level = 2 # fast and small wasm
[patch.crates-io]