forked from rewin123/space_editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
122 lines (105 loc) · 3.62 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "space_editor"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
exclude = ["/assets", "/examples"]
description = "Prefab editor for bevy game engine. Make levels/object templates with intuitive UI"
readme = "README.md"
homepage = "https://github.com/rewin123/space_editor"
repository = "https://github.com/rewin123/space_editor"
[workspace]
members = [
"crates/prefab",
"crates/shared",
"crates/undo",
"crates/persistence",
"crates/editor_core",
"crates/editor_ui",
"modules/bevy_xpbd_plugin"
]
[workspace.package]
version = "0.5.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["rewin <[email protected]>", "Julia Naomi <[email protected]>"]
keywords = ["gamedev", "editor", "bevy"]
categories = ["game-development"]
repository = "https://github.com/rewin123/space_editor"
homepage = "https://github.com/rewin123/space_editor"
[workspace.dependencies]
bevy = "0.13.1"
# Editor Crates
space_prefab = { version = "0.5.0", path = "crates/prefab" }
space_shared = { version = "0.5.0", path = "crates/shared" }
space_undo = { version = "0.5.0", path = "crates/undo" }
space_persistence = { version = "0.5.0", path = "crates/persistence"}
space_editor_core = { version = "0.5.0", path = "crates/editor_core", features = ["persistence_editor"] }
space_editor_ui = { version = "0.5.0", path = "crates/editor_ui", features = ["persistence_editor"] }
# Crates inner libraries
anyhow = "1.0"
bevy_asset_loader = "0.20"
bevy_common_assets = { version = "0.10", features = ["ron"] }
bevy_debug_grid = "0.5"
bevy_egui = "0.25"
bevy-inspector-egui = { version = "0.23", features = [
"bevy_pbr",
"highlight_changes",
] }
bevy_mod_billboard = {version = "0.6", git = "https://github.com/kulkalkul/bevy_mod_billboard", branch = "main" }
bevy_mod_picking = { version = "0.18.1", default-features = false, features = [
"backend_raycast",
"selection",
] }
bevy_panorbit_camera = {version = "0.16", default-features = false}
bevy-scene-hook = "10"
convert_case = "0.6"
egui_dock = "0.11"
egui_extras = { version = "0.26", features = ["all_loaders"] }
egui_file = "0.15"
egui-gizmo = "0.16.1"
egui-toast = "0.12.1"
image = {version = "0.24.8", feature = ["png"] }
pretty-type-name = "1"
ron = "0.8"
serde = "1"
# Community Modules
space_bevy_xpbd_plugin = { version = "0.5.0", path = "modules/bevy_xpbd_plugin"}
[dependencies]
bevy.workspace = true
space_editor_ui.workspace = true
space_prefab.workspace = true
# Modules for external crates
space_bevy_xpbd_plugin = { workspace = true, optional = true }
# For versions 1.74+
[workspace.lints.rust]
future-incompatible = "warn"
nonstandard_style = "deny"
[workspace.lints.clippy]
nursery = { level = "deny", priority = 0 }
all = { level = "deny", priority = 1 }
# Bevy Related
cognitive_complexity = { level = "allow", priority = 2 }
needless_pass_by_ref_mut = { level = "allow", priority = 2 }
significant_drop_in_scrutinee = { level = "allow", priority = 2 }
significant_drop_tightening = { level = "allow", priority = 2 }
too_many_arguments = { level = "allow", priority = 2 }
[lints]
workspace = true
[profile.dev.package.bevy_xpbd_3d]
opt-level = 3
[features]
bevy_xpbd_3d = ["dep:space_bevy_xpbd_plugin"]
persistence_editor = []
no_event_registration = ["space_prefab/no_event_registration"]
editor = ["space_prefab/editor", "space_editor_ui/editor"]
default = ["bevy_xpbd_3d", "persistence_editor", "editor"]
[[example]]
name = "platformer"
required-features = ["bevy_xpbd_3d"]
[[example]]
name = "spawn_prefab_with_physics"
required-features = ["bevy_xpbd_3d"]