-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
90 lines (81 loc) · 2 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
85
86
87
88
89
90
[package]
name = "og_engine"
version = "0.3.0"
authors = ["Jonny Kenyon <[email protected]>"]
edition = "2021"
resolver = "2"
[lib]
name = "og_engine"
crate-type = ["rlib"]
[build-dependencies]
bindgen = "0.59"
[dependencies]
itertools = "0.10"
image = "0.23"
blend = "0.6.1"
bmp = "0.5.0"
cgmath = "0.18"
env_logger = "0.7"
log = "0.4"
wgpu = { version = "0.18" , features = ["webgl"] }
futures = "0.3"
num-traits = "0.2.14"
pretty-hex ="0.2.0"
lazy_static = "*"
winit = { version = "0.28.0" }
inline-spirv = "0.1.2"
bytemuck = { version = "1.4", features = [ "derive" ] }
gltf = { version = "0.16.0", features = ["import"] }
bitflags = "1.2.1"
serde = "1.0"
serde_yaml = "0.8"
#olc_pge_macros = { version = "0.1.0", path = "../olc_pge_macros" }
quote = "1.0"
rapier3d = {version = "*", features = [ "simd-stable" ] }
#rodio = "0.14.0"
[target.'cfg(target_arch = "windows")'.dependencies]
lazy_static = "*"
bmp = "0.5.0"
rand = "*"
[target.'cfg(target_arch="wasm32")'.dependencies]
wasm-bindgen = "0.2.78"
wasm-bindgen-futures = "*"
rapier3d = {version = "*", features = [ "wasm-bindgen", "simd-stable" ] }
#winit = { version = "0.28.0", features = ["web-sys"] }
console_log = "*"
instant = "0.1.9"
console_error_panic_hook = "*"
js-sys = "*"
[target.'cfg(target_arch="wasm32")'.dev-dependencies]
console_error_panic_hook = "0.1.6"
console_log = "*"
[features]
js = []
[target.'cfg(target_arch="wasm32")'.dependencies.web-sys]
version = "0.3"
optional = false
features = [
"console",
"WebGlBuffer",
"WebGlRenderingContext",
"WebGl2RenderingContext",
"WebGlProgram",
"WebGlSampler",
"WebGlTexture",
"WebGlProgram",
"WebGlShader",
"Document",
"Navigator",
"Node",
"NodeList",
"HtmlCanvasElement",
"Window",
"Element",
"FileReader",
"Headers",
"Request",
"RequestInit",
"RequestMode",
"Response",
"ReadableStream",
]