mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
87d4c6380d
# Objective `bevy_core` is missing a feature corresponding to the `serialize` feature on the `bevy` crate. Similar to #6378 and https://github.com/bevyengine/bevy/pull/6379 to serialize `Name` easily. ## Solution Add this feature and hand-written serialization for `Name` (to avoid storing `hash` field). --- ## Changelog ### Added * `Serialize` and `Deserialize` derives for `Name` under `serialize` feature.
29 lines
896 B
TOML
29 lines
896 B
TOML
[package]
|
|
name = "bevy_core"
|
|
version = "0.9.0-dev"
|
|
edition = "2021"
|
|
description = "Provides core functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.9.0-dev", features = ["bevy_reflect"] }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0-dev", features = ["bevy_reflect"] }
|
|
bevy_math = { path = "../bevy_math", version = "0.9.0-dev" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev", features = ["bevy"] }
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0-dev" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" }
|
|
|
|
# other
|
|
bytemuck = "1.5"
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
[features]
|
|
serialize = ["dep:serde"]
|
|
|
|
[dev-dependencies]
|
|
crossbeam-channel = "0.5.0"
|