-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
96 lines (78 loc) · 2.34 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
[package]
name = "blue_engine"
version = "0.6.1"
authors = ["Elham Aryanpur <[email protected]>"]
edition = "2021"
description = "General-Purpose, Easy-to-use, Fast, and Portable graphics engine"
documentation = "https://aryanpurtech.github.io/BlueEngineDocs/"
repository = "https://github.com/AryanpurTech/BlueEngine"
keywords = ["gamedev", "graphics", "3D", "2D", "rendering"]
categories = ["game-development", "gui", "graphics", "rendering"]
license = "Apache-2.0"
exclude = ["/examples", "/resources"]
[lib]
name = "blue_engine"
[features]
default = ["debug", "u16", "dep:blue_engine_core"]
# Use the default engine
dynamic_link = ["dep:blue_engine_dynamic"]
debug = ["blue_engine_core?/debug", "blue_engine_dynamic?/debug"]
android = ["blue_engine_core?/android", "blue_engine_dynamic?/android"]
android_native_activity = [
"blue_engine_core?/android_native_activity",
"blue_engine_dynamic?/android_native_activity",
]
android_game_activity = [
"blue_engine_core?/android_game_activity",
"blue_engine_dynamic?/android_game_activity",
]
# using u16 for indices and others
u16 = ["blue_engine_core?/u16", "blue_engine_dynamic?/u16"]
# using u32 for indices and others
u32 = ["blue_engine_core?/u32", "blue_engine_dynamic?/u32"]
[dependencies]
blue_engine_core = { version = "0.6.1", optional = true }
# Wasm does not support dynamic linking.
[target.'cfg(not(target_family = "wasm"))'.dependencies]
blue_engine_dynamic = { version = "0.6.1", optional = true }
# ========== EXAMPLES ========== #
# SHAPES
[[example]]
name = "triangle"
path = "examples/shapes/triangle.rs"
[[example]]
name = "square"
path = "examples/shapes/square.rs"
[[example]]
name = "cube"
path = "examples/shapes/cube.rs"
# CAMERA
[[example]]
name = "rotate_around"
path = "examples/camera/rotate_around.rs"
# Utils
[[example]]
name = "resource_sharing"
path = "examples/utils/resource_sharing.rs"
[[example]]
name = "instancing"
path = "examples/utils/instancing.rs"
[[example]]
name = "render_order"
path = "examples/utils/render_order.rs"
[[example]]
name = "wireframe"
path = "examples/utils/wireframe.rs"
[[example]]
name = "scissor"
path = "examples/utils/scissor.rs"
[[example]]
name = "clear_color"
path = "examples/utils/clear_color.rs"
[[example]]
name = "signals"
path = "examples/utils/signals.rs"
# Development ONLY
[[example]]
name = "dev"
path = "examples/dev/dev.rs"