-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (29 loc) · 902 Bytes
/
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
[package]
name = "rgine"
version = "0.1.0"
edition = "2021"
[dependencies]
# Core
rgine_modules = { path = "core/modules/"}
rgine_platform = { path = "core/platform/", default-features = false}
rgine_assets = { path = "core/assets/" }
rgine_logger = { path = "core/logger/" }
rgine_graphics = { path = "core/graphics/", optional = true }
# External
cgmath = "0.18.0"
# Modules
rgine_renderer_2d = { path = "modules/renderer_2d", optional = true }
rgine_disk_assets = { path = "modules/disk_assets", optional = true }
[features]
schedulelog = ["rgine_modules/debuglog"]
asset_loader = [ "dep:rgine_disk_assets"]
graphics = ["rgine_platform/window", "dep:rgine_graphics"]
2d = ["graphics", "dep:rgine_renderer_2d"]
default = ["graphics", "asset_loader"] ##TODO: should we add 2d by default? or wait for 3d support????
[workspace]
members = [
".",
"core/*",
"modules/*",
"examples/*",
]