-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
71 lines (65 loc) · 1.56 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
[package]
name = "superconductor"
version = "0.1.0"
edition = "2021"
license = "MIT"
[dependencies]
bevy_app = { version = "0.11", default-features = false }
bevy_ecs = { version = "0.11", default-features = false }
log = "0.4.20"
wasm-bindgen = "0.2.87"
renderer-core = { path = "renderer-core" }
wasm-bindgen-futures = "0.4.37"
js-sys = "0.3.64"
futures = "0.3.28"
wgpu = { version = "0.17.0", features = ["fragile-send-sync-non-atomic-wasm"] }
anyhow = "1.0.75"
url = "2.4.1"
winit = "0.28.6"
arrayvec = "0.7.4"
surf = { git = "https://github.com/expenses/surf-patched", branch = "update-deps", default-features = false }
ordered-float = "3.9.1"
[dependencies.web-sys]
version = "0.3.64"
features = [
"HtmlButtonElement",
"Document",
"Navigator",
"XrReferenceSpaceType",
"XrSessionMode",
"Navigator",
"XrSystem",
"XrSessionInit",
"XrWebGlLayer",
"XrWebGlLayerInit",
"XrRenderStateInit",
"XrRenderState",
"XrReferenceSpace",
"XrViewerPose",
"XrView",
"RequestInit",
"Request",
"Response",
]
[features]
wasm = ["renderer-core/wasm", "surf/wasm-client"]
webgl = ["wasm", "renderer-core/webgl"]
native = ["surf/curl-client"]
[workspace]
members = [
"shared-structs",
"gltf-helpers",
"renderer-core",
".",
"demo",
]
[profile.dev]
debug = true
[profile.dev.package."*"]
opt-level = 3
[profile.dev.package.renderer-core]
opt-level = 3
[profile.dev.package.superconductor]
opt-level = 3
[patch.'https://github.com/BVE-Reborn/ktx2']
ktx2 = { git = "https://github.com/expenses/ktx2", branch = "astc-sfloat-formats" }