-
Notifications
You must be signed in to change notification settings - Fork 173
/
Cargo.toml
82 lines (73 loc) · 1.85 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
[package]
authors = ["Sébastien Crozet <[email protected]>"]
name = "kiss3d"
version = "0.35.0"
autoexamples = true
description = "3D graphics engine for Rust."
edition = "2018"
keywords = ["3D", "graphics", "OpenGL", "KISS"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/sebcrozet/kiss3d"
include = [
"src/**/*.rs",
"src/**/*.frag",
"src/**/*.vert",
"src/text/*.ttf",
"examples/**/*.rs",
"examples/media",
"examples/Cargo.toml",
"Cargo.toml",
"LICENSE",
"Readme.md",
]
[lib]
name = "kiss3d"
path = "src/lib.rs"
[features]
conrod = ["conrod_core"]
vertex_index_u32 = []
[dependencies]
bitflags = "1.2"
conrod_core = { version = "0.71", features = ["wasm-bindgen"], optional = true }
either = "1"
glow = "0.12"
image = "0.24"
instant = { version = "0.1", features = ["wasm-bindgen"] }
libc = "0.2"
nalgebra = "0.30"
ncollide3d = "0.33"
num-traits = "0.2"
rusttype = { version = "0.8.3", features = ["gpu_cache"] }
serde = "1"
serde_derive = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
glutin = "0.26"
# We repeat all three targets instead of any(target_arch = "wasm32", target_arch = "asmjs")
# to avoid https://github.com/koute/stdweb/issues/135
[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = [
"console",
"KeyEvent",
"KeyboardEvent",
"MouseEvent",
"WheelEvent",
"Touch",
"TouchEvent",
"TouchList",
"HtmlCanvasElement",
"HtmlElement",
"Window",
"UiEvent",
"Event",
"EventTarget",
"Element",
"DomRect",
] }
[dev-dependencies]
env_logger = "0.10"
nalgebra = { version = "0.30", features = ["rand"] }
ncollide2d = "0.33"
rand = "0.8"