-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
95 lines (80 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
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "duku"
version = "0.2.1"
edition = "2018"
authors = ["Oliver Berzs <[email protected]>"]
license = "Apache-2.0"
description = "A Rust crate for creating graphic experiences"
homepage = "https://github.com/oberzs/duku"
repository = "https://github.com/oberzs/duku"
documentation = "https://docs.rs/duku"
readme = "README.md"
exclude = [
"examples/screenshots/*",
".github/*",
"shaders/glsl/*"
]
[features]
default = ["window"]
png = ["png_dep"]
jpeg = ["jpeg_dep"]
gltf = ["gltf_dep", "png", "jpeg"]
glsl = ["glsl_dep"]
otf = ["otf_dep"]
window = ["window_dep"]
log = []
[dependencies.window_dep]
package = "winit"
version = "0.23.0"
optional = true
[dependencies.png_dep]
package = "png"
version = "0.16.7"
optional = true
[dependencies.jpeg_dep]
package = "jpeg-decoder"
version = "0.1.20"
optional = true
default-features = false
[dependencies.glsl_dep]
package = "shaderc"
version = "0.7.0"
optional = true
[dependencies.gltf_dep]
package = "gltf"
version = "0.15.2"
optional = true
default-features = false
features = ["utils"]
[dependencies.otf_dep]
package = "ab_glyph"
version = "0.2.6"
optional = true
[[bin]]
name = "dc"
path = "src/dc.rs"
required-features = ["glsl"]
[[example]]
name = "rotating_cube"
path = "examples/3d-examples/rotating_cube.rs"
required-features = ["window"]
[[example]]
name = "raymarch"
path = "examples/3d-examples/raymarch.rs"
required-features = ["window", "glsl"]
[[example]]
name = "ship_model"
path = "examples/3d-examples/ship_model.rs"
required-features = ["window", "gltf"]
[[example]]
name = "run_animation"
path = "examples/2d-examples/run_animation.rs"
required-features = ["window", "png"]
[[example]]
name = "gradient"
path = "examples/2d-examples/gradient.rs"
required-features = ["window"]
[[example]]
name = "textbox"
path = "examples/2d-examples/textbox.rs"
required-features = ["window", "otf"]