-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (54 loc) 路 1.78 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (54 loc) 路 1.78 KB
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
[package]
name = "app_core"
version = "0.1.0"
edition = "2024"
rust-version = "1.98"
default-run = "app"
[lib]
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[[bin]]
name = "app"
path = "src/main.rs"
[dependencies]
bytemuck = { version = "1.25.1", features = ["derive"] }
egui = "0.34"
egui-wgpu = { version = "0.34", features = ["winit"] }
futures = "0.3.32"
log = "0.4.33"
nalgebra-glm = { version = "0.20.0", features = [
"convert-bytemuck",
"serde-serialize",
] }
web-time = "1.1.0"
wgpu = { version = "29", default-features = false }
winit = "0.30.13"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ash = { version = "0.38", optional = true }
env_logger = "0.11.11"
egui-winit = "0.34"
gpu-allocator = { version = "0.28", optional = true }
pollster = "0.4.0"
wgpu-hal = { version = "29", features = ["vulkan"], optional = true }
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android")))'.dependencies]
openxr = { version = "0.21", features = ["static", "loaded"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
egui-winit = { version = "0.34", default-features = false }
wasm-bindgen = "0.2.126"
wasm-bindgen-futures = "0.4.76"
[target.'cfg(target_os = "android")'.dependencies]
android-activity = { version = "0.6", features = ["native-activity"] }
android_logger = "0.15"
egui-winit = { version = "0.34", default-features = false }
ndk-context = "0.1"
ndk-sys = "0.6"
openxr = { version = "0.21", default-features = false, features = ["loaded"], optional = true }
[features]
default = ["wgpu/default"]
openxr = ["dep:openxr", "dep:ash", "dep:wgpu-hal", "dep:gpu-allocator"]
webgl = ["wgpu/webgl"]
webgpu = ["wgpu/webgpu"]
android = ["wgpu/vulkan"]
android-openxr = ["android", "openxr"]