-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
84 lines (76 loc) · 1.8 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
81
82
83
84
[package]
name = "tpscube"
version = "0.1.0"
authors = ["Rusty Wagner <[email protected]>"]
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
egui = { version="0.13", default-features=false }
epi = { version="0.13" }
tpscube_core = { path="lib", default-features=false }
getrandom = "0.2"
instant = "0.1"
anyhow = "1.0"
chrono = "0.4"
gl_matrix = "0.0"
num-traits = "0.2"
image = { version="0.23", default-features=false, features=["png"] }
[features]
default = ["tpscube_core/native-storage", "tpscube_core/bluetooth"]
wasm = ["getrandom/js", "tpscube_core/web-storage", "instant/wasm-bindgen", "chrono/wasmbind"]
[profile.dev]
opt-level = 2
[profile.release]
panic = "abort"
[target.'cfg(target_arch="wasm32")'.dependencies]
egui_web = { version="0.13", default-features=false }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
[target.'cfg(target_arch="wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"Clipboard",
"ClipboardEvent",
"CompositionEvent",
"console",
"CssStyleDeclaration",
"DataTransfer",
"Document",
"DomRect",
"Element",
"Event",
"EventListener",
"EventTarget",
"FocusEvent",
"HtmlCanvasElement",
"HtmlElement",
"HtmlInputElement",
"InputEvent",
"KeyboardEvent",
"Location",
"MediaQueryList",
"MouseEvent",
"Navigator",
"Performance",
"Storage",
"Touch",
"TouchEvent",
"TouchList",
"WebGl2RenderingContext",
"WebGlBuffer",
"WebGlProgram",
"WebGlRenderingContext",
"WebGlShader",
"WebGlTexture",
"WebGlUniformLocation",
"WheelEvent",
"Window",
]
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
egui_glium = { version="0.13", default-features=false }
glium = "0.30"
tinyfiledialogs = "3.8"
sdl2 = { version="0.34", features=["bundled", "static-link"] }
tokio = { version="1.7", features=["full"] }