bevy/crates/bevy_scene/Cargo.toml
2025-04-15 09:11:38 +02:00

55 lines
1.8 KiB
TOML

[package]
name = "bevy_scene"
version = "0.16.0-rc.5"
edition = "2024"
description = "Provides scene functionality for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
default = ["serialize"]
serialize = [
"dep:serde",
"uuid/serde",
"bevy_ecs/serialize",
"bevy_platform/serialize",
]
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.16.0-rc.5" }
bevy_asset = { path = "../bevy_asset", version = "0.16.0-rc.5" }
bevy_derive = { path = "../bevy_derive", version = "0.16.0-rc.5" }
bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-rc.5" }
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-rc.5" }
bevy_transform = { path = "../bevy_transform", version = "0.16.0-rc.5" }
bevy_utils = { path = "../bevy_utils", version = "0.16.0-rc.5" }
bevy_render = { path = "../bevy_render", version = "0.16.0-rc.5", optional = true }
bevy_platform = { path = "../bevy_platform", version = "0.16.0-rc.5", default-features = false, features = [
"std",
] }
# other
serde = { version = "1.0", features = ["derive"], optional = true }
uuid = { version = "1.13.1", features = ["v4"] }
thiserror = { version = "2", default-features = false }
derive_more = { version = "1", default-features = false, features = ["from"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
uuid = { version = "1.13.1", default-features = false, features = ["js"] }
[dev-dependencies]
postcard = { version = "1.0", features = ["alloc"] }
bincode = { version = "2.0", features = ["serde"] }
rmp-serde = "1.1"
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true