-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
80 lines (67 loc) · 2.15 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
[package]
name = "blue_engine_utilities"
version = "0.5.20"
edition = "2021"
authors = ["Elham Aryanpur <[email protected]>"]
description = "Utilities for Blue Engine"
repository = "https://github.com/AryanpurTech/BlueEngineUtilities"
keywords = ["gamedev", "utility", "3D", "2D", "animation"]
categories = ["game-development", "graphics", "rendering"]
license = "Apache-2.0"
[features]
default = ["u16", "debug"]
animation = ["dep:keyframe_derive", "dep:keyframe"]
gltf = ["dep:gltf"]
obj = ["dep:obj-rs"]
physics = ["dep:rapier3d"]
egui = ["dep:egui", "dep:egui-winit", "dep:egui-wgpu"]
# pass blue engine's u16 feature
u16 = ["blue_engine/u16"]
# pass blue engine's u32 feature
u32 = ["blue_engine/u32"]
# pass blue engine's debug feature
debug = ["blue_engine/debug"]
[dependencies]
# blue_engine = { path = "../Blue Engine", default-features = false }
blue_engine = { version = ">=0.5.20", default-features = false }
eyre = "0.6.3"
# Animation
keyframe = { version = "1.1.1", optional = true }
keyframe_derive = { version = "1.0.0", optional = true }
# model loading
gltf = { version = "1.4.0", optional = true }
obj-rs = { version = "0.7.1", optional = true }
# physics
rapier3d = { version = "0.21", features = ["simd-stable"], optional = true }
# egui
egui = { git = "https://github.com/emilk/egui.git", rev = "89b6055f9cc8954e0a27d17bae2d10f089592330", optional = true }
egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "89b6055f9cc8954e0a27d17bae2d10f089592330", optional = true }
egui-winit = { git = "https://github.com/emilk/egui.git", rev = "89b6055f9cc8954e0a27d17bae2d10f089592330", optional = true }
# Animation examples
[[example]]
name = "animation"
path = "examples/animation.rs"
# Camera examples
[[example]]
name = "fly_camera"
path = "examples/flycamera.rs"
# Light examples
[[example]]
name = "basic_light"
path = "examples/basic_light.rs"
# Model examples
[[example]]
name = "model"
path = "examples/model.rs"
# Raycast examples
[[example]]
name = "raycast"
path = "examples/raycast.rs"
# Physics examples
[[example]]
name = "physics"
path = "examples/physics.rs"
# EGUI examples
[[example]]
name = "hello_egui"
path = "examples/hello_egui.rs"