-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (71 loc) · 1.71 KB
/
Copy pathCargo.toml
File metadata and controls
89 lines (71 loc) · 1.71 KB
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
[package]
name = "xtreme-engine"
version = "0.1.0"
edition = "2021"
authors = ["Felipe Maya"]
description = "A modular ECS game engine with isometric 3D rendering and ML-powered AI"
license = "MIT"
repository = "https://github.com/your-username/xtreme-engine"
[lib]
name = "xtreme"
path = "src/lib.rs"
[[example]]
name = "hello_triangle"
path = "examples/hello_triangle.rs"
[[example]]
name = "isometric_camera"
path = "examples/isometric_camera.rs"
[[example]]
name = "editor"
path = "examples/editor.rs"
[dependencies]
# Rendering
wgpu = "27"
winit = "0.30"
glam = { version = "0.29", features = ["bytemuck", "serde"] }
bytemuck = { version = "1.19", features = ["derive"] }
# Editor UI
egui = "0.33.3"
egui-wgpu = "0.33.3"
egui-winit = "0.33.3"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ron = "0.8"
# ML Runtime
ort = { version = "2.0.0-rc.10", optional = true }
# Python Scripting
pyo3 = { version = "0.27", features = ["auto-initialize"], optional = true }
# Audio
rodio = { version = "0.19", features = ["symphonia-all"] }
cpal = "0.15"
# Animation
gltf = "1.4"
# Utilities
log = "0.4"
env_logger = "0.11"
thiserror = "2.0"
image = "0.25"
rfd = "0.15"
tobj = "4.0"
rand = "0.8"
uuid = { version = "1.11", features = ["v4"] }
# Async runtime (required by wgpu)
pollster = "0.4"
[dev-dependencies]
pretty_assertions = "1.4"
tempfile = "3.10"
[features]
default = []
ml = ["ort"]
scripting = ["pyo3"]
[profile.dev]
opt-level = 1
# Compile emath in release mode to avoid debug_assert panic in smart_aim
# See: https://github.com/emilk/egui/issues/XXXX (egui smart_aim bug)
[profile.dev.package.emath]
opt-level = 3
debug-assertions = false
[profile.release]
opt-level = 3
lto = true