-
Notifications
You must be signed in to change notification settings - Fork 46
/
Cargo.toml
111 lines (88 loc) · 2.04 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[package]
name = "three"
version = "0.4.0"
authors = ["Three-rs Developers"]
license = "MIT/Apache-2.0"
description = "Three.js inspired 3D engine in Rust"
categories = ["rendering", "game-engines"]
keywords = ["gamedev", "graphics", "engine", "3D"]
homepage = "https://github.com/three-rs/three"
repository = "https://github.com/three-rs/three"
documentation = "https://docs.rs/three/"
build = "build.rs"
exclude = ["doc/*", "bors.toml", ".travis.yml", "test_data/*"]
[lib]
[features]
default = ["opengl", "audio"]
opengl = ["gfx_device_gl", "gfx_window_glutin", "glutin"]
audio = ["rodio"]
[build-dependencies]
includedir_codegen = "0.5"
[dependencies]
arrayvec = "0.4"
bitflags = "1"
cgmath = { version = "0.16", features = ["mint"] }
derivative = "1.0"
froggy = "0.4.4"
genmesh = "0.6"
gfx = "0.18.1"
gfx_glyph = "0.15.0"
gltf = { features = ["names", "utils", "import"], optional = true, version = "0.15.2" }
image = "0.23"
includedir = "0.5"
itertools = "0.8"
log = "0.4"
obj = { version = "0.10", features = ["genmesh"] }
phf = "0.7.12"
quick-error = "1.2"
rodio = { version = "0.8", optional = true }
mint = "0.5"
vec_map = "0.8"
stlv = "0.1.3"
# OpenGL
gfx_device_gl = { version = "0.16.2", optional = true }
gfx_window_glutin = { version = "0.31.0", optional = true }
glutin = { version = "0.21.1", optional = true }
[dev-dependencies]
env_logger = "0.6"
notify = "4"
rand = "0.6"
[[example]]
name = "lights"
[[example]]
name = "materials"
[[example]]
name = "mesh-update"
[[example]]
name = "obj"
[[example]]
name = "reload"
[[example]]
name = "shapes"
[[example]]
name = "sprite"
[[example]]
name = "tutorial"
[[example]]
name = "group"
[[example]]
name = "anim"
[[example]]
name = "text"
[[example]]
name = "stl"
[[example]]
name = "aviator"
path = "examples/aviator/main.rs"
[[example]]
name = "gltf-pbr-shader"
required-features = ["gltf"]
[[example]]
name = "gltf-node-animation"
required-features = ["gltf"]
[[example]]
name = "gltf-vertex-skinning"
required-features = ["gltf"]
[[example]]
name = "gltf-morph-targets"
required-features = ["gltf"]