Skip to content

Commit

Permalink
Merge pull request #125 from naomijub/crates
Browse files Browse the repository at this point in the history
Crates
  • Loading branch information
rewin123 authored Dec 18, 2023
2 parents 2529594 + 673d7a0 commit a25c017
Show file tree
Hide file tree
Showing 51 changed files with 280 additions and 263 deletions.
41 changes: 26 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,47 @@
[package]
name = "space_editor"
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["gamedev", "editor", "bevy"]
categories = ["game-development"]
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.package]
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["rewin <[email protected]>"]
keywords = ["gamedev", "editor", "bevy"]
categories = ["game-development"]

[workspace.dependencies]
bevy = "0.12"

# Editor Crates
prefab = { path = "crates/prefab" }
shared = { path = "crates/shared" }
undo = { path = "crates/undo" }
persistence = { path = "crates/persistence"}
editor_core = { path = "crates/editor_core", features = ["persistence_editor"] }
editor = { path = "crates/editor", features = ["persistence_editor"] }
space_prefab = { version = "*", path = "crates/prefab" }
space_shared = { version = "*", path = "crates/shared" }
space_undo = { version = "*", path = "crates/undo" }
space_persistence = { version = "*", path = "crates/persistence"}
space_editor_core = { version = "*", path = "crates/editor_core", features = ["persistence_editor"] }
space_editor_ui = { version = "*", path = "crates/editor_ui", features = ["persistence_editor"] }
ron = "0.8"
serde = "1"

space_bevy_xpbd_plugin = { version = "*", path = "modules/bevy_xpbd_plugin"}

[dependencies]
bevy.workspace = true
editor.workspace = true
prefab.workspace = true
space_editor_ui = {workspace = true, version = "*" }
space_prefab = {workspace = true, version = "*" }

# Modules for external crates
bevy_xpbd_plugin = { path = "modules/bevy_xpbd_plugin", optional = true }
space_bevy_xpbd_plugin = {version = "*", workspace = true, optional = true }


# For versions 1.74+
Expand All @@ -55,7 +66,7 @@ too_many_arguments = { level = "allow", priority = 2 }
opt-level = 3

[features]
bevy_xpbd_3d = ["dep:bevy_xpbd_plugin"]
bevy_xpbd_3d = ["dep:space_bevy_xpbd_plugin"]
persistence_editor = []
editor = []
default = ["bevy_xpbd_3d", "persistence_editor", "editor"]
Expand Down
Loading

0 comments on commit a25c017

Please sign in to comment.