-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
68 lines (58 loc) · 1.37 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
[package]
name = "baryon"
version = "0.3.0"
edition = "2018"
resolver = "2"
license = "MIT"
description = "Fast prototyping 3D engine"
repository = "https://github.com/kvark/baryon"
keywords = ["3d", "graphics", "wgpu"]
categories = ["game-development", "graphics", "rendering::engine"]
exclude = [
"examples/*",
"tests/*",
]
[workspace]
members = ["baryon-core"]
[features]
default = ["window"]
window = ["raw-window-handle", "winit"]
shape = ["lyon"]
# obj, gltf
# pass = glam, fxhash, mint, wgpu
# factory =
[[example]]
name = "load-obj"
required-features = ["obj"]
[[example]]
name = "load-gltf"
required-features = ["gltf"]
[[example]]
name = "shapes"
required-features = ["shape"]
[[example]]
name = "scene"
[dependencies.bc]
package = "baryon-core"
path = "baryon-core"
version = "0.1"
[dependencies]
# public
mint = "0.5"
# private
bitflags = "1.0"
bytemuck = { version = "1.4", features = ["derive"] }
glam = "0.20"
gltf = { version = "1", features = ["names", "utils", "KHR_lights_punctual"], optional = true }
fxhash = "0.2"
log = "0.4"
obj = { version = "0.10", optional = true }
raw-window-handle = { version = "0.4", optional = true }
winit = { version = "0.26", optional = true }
wgpu = "0.12"
lyon = { version = "0.17", optional = true }
[dev-dependencies]
naga = { version = "0.8", features = ["wgsl-in"] }
pollster = "0.2"
[package.metadata.docs.rs]
all-features = true