forked from AryanpurTech/BlueEngineUtilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
74 lines (61 loc) · 1.72 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
[package]
name = "blue_engine_utilities"
version = "0.5.16"
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 = ["animation", "gltf", "physics"]
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"]
[dependencies]
blue_engine = { version = ">=0.5.16" }
#blue_engine = { path = "../Blue Engine" }
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 = { version = "0.28.1", optional = true }
egui-winit = { version = "0.28.1", optional = true }
egui-wgpu = { version = "0.28.1", 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"