-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (39 loc) · 1.44 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
[package]
name = "surreal"
description = "The Surreal game engine"
authors.workspace = true
edition.workspace = true
version.workspace = true
[workspace.package]
authors = ["Matt Kleinschafer <[email protected]>"]
edition = "2021"
version = "0.1.0"
[workspace]
members = ["core/*", "backends/*", "editor"]
[profile.dev.package."*"]
opt-level = 3
[features]
default = ["audio", "graphics", "input"∂]
[workspace.dependencies]
# shared dependencies
bitflags = "2.1.0"
[dependencies]
# core
common = { package = "surreal-common", path = "./core/common" }
audio = { package = "surreal-audio", path = "./core/audio", optional = true }
graphics = { package = "surreal-graphics", path = "./core/graphics", optional = true }
input = { package = "surreal-input", path = "./core/input", optional = true }
networking = { package = "surreal-networking", path = "./core/networking", optional = true }
physics = { package = "surreal-physics", path = "./core/physics", optional = true }
scenes = { package = "surreal-scenes", path = "./core/scenes", optional = true }
scripting = { package = "surreal-scripting", path = "./core/scripting", optional = true }
# editor
editor = { package = "surreal-editor", path = "./editor", optional = true }
# backends
desktop = { package = "surreal-backend-desktop", path = "backends/desktop", optional = true }
[[example]]
name = "sprites"
required-features = ["desktop"]
[[example]]
name = "hello-world"
required-features = ["desktop"]