bevy/crates/bevy_scene/Cargo.toml
2025-03-18 21:48:22 +01:00

55 lines
1.8 KiB
TOML

[package]
name = "bevy_scene"
version = "0.16.0-rc.1"
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_support/serialize",
]
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.16.0-rc.1" }
bevy_asset = { path = "../bevy_asset", version = "0.16.0-rc.1" }
bevy_derive = { path = "../bevy_derive", version = "0.16.0-rc.1" }
bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-rc.1" }
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-rc.1" }
bevy_transform = { path = "../bevy_transform", version = "0.16.0-rc.1" }
bevy_utils = { path = "../bevy_utils", version = "0.16.0-rc.1" }
bevy_render = { path = "../bevy_render", version = "0.16.0-rc.1", optional = true }
bevy_platform_support = { path = "../bevy_platform_support", version = "0.16.0-rc.1", 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 = "1.3"
rmp-serde = "1.1"
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true