2019-12-02 09:31:07 +00:00
|
|
|
[package]
|
2020-01-19 10:02:12 +00:00
|
|
|
name = "bevy_transform"
|
2024-02-21 20:58:59 +00:00
|
|
|
version = "0.14.0-dev"
|
2021-10-27 00:12:14 +00:00
|
|
|
edition = "2021"
|
2022-03-15 01:54:05 +00:00
|
|
|
description = "Provides transform functionality for Bevy Engine"
|
2020-08-10 00:24:27 +00:00
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
2021-07-23 21:11:51 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-10 00:24:27 +00:00
|
|
|
keywords = ["bevy"]
|
2019-12-02 09:31:07 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-08-10 00:39:28 +00:00
|
|
|
# bevy
|
2024-06-01 11:34:49 +00:00
|
|
|
bevy_app = { path = "../bevy_app", version = "0.14.0-dev", optional = true }
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.14.0-dev", features = [
|
2023-11-21 01:04:14 +00:00
|
|
|
"bevy_reflect",
|
2024-06-01 11:34:49 +00:00
|
|
|
], optional = true }
|
|
|
|
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.14.0-dev", optional = true }
|
|
|
|
bevy_math = { path = "../bevy_math", version = "0.14.0-dev", default-features = false }
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.14.0-dev", features = [
|
2023-11-21 01:04:14 +00:00
|
|
|
"bevy",
|
2024-06-01 11:34:49 +00:00
|
|
|
], optional = true }
|
2022-10-31 16:12:15 +00:00
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
2023-10-28 22:20:37 +00:00
|
|
|
thiserror = "1.0"
|
2022-10-31 16:12:15 +00:00
|
|
|
|
2023-03-06 00:47:07 +00:00
|
|
|
[dev-dependencies]
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.14.0-dev" }
|
2024-06-01 11:34:49 +00:00
|
|
|
bevy_math = { path = "../bevy_math", version = "0.14.0-dev", default-features = false, features = [
|
2024-02-22 18:13:45 +00:00
|
|
|
"approx",
|
|
|
|
] }
|
2023-10-18 20:07:51 +00:00
|
|
|
approx = "0.5.1"
|
2022-11-21 18:18:38 +00:00
|
|
|
|
2022-10-31 16:12:15 +00:00
|
|
|
[features]
|
2024-06-01 11:34:49 +00:00
|
|
|
# Adds normal Bevy impls like deriving components, bundles, reflection, as well as adding
|
|
|
|
# systems for transform propagation and more.
|
|
|
|
# This exists because it allows opting out of all of this, leaving only a bare-bones transform struct,
|
|
|
|
# which enables users to depend on that without needing the larger Bevy dependency tree.
|
|
|
|
bevy-support = [
|
|
|
|
"dep:bevy_app",
|
|
|
|
"dep:bevy_ecs",
|
|
|
|
"dep:bevy_hierarchy",
|
|
|
|
"dep:bevy_reflect",
|
|
|
|
"bevy_math/bevy_reflect",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Turning off default features leaves you with a barebones
|
|
|
|
# definition of transform.
|
|
|
|
default = ["bevy-support"]
|
|
|
|
|
2022-10-31 16:12:15 +00:00
|
|
|
serialize = ["dep:serde", "bevy_math/serialize"]
|
2023-11-18 20:58:48 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|
2024-03-08 20:03:09 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2024-03-23 02:22:52 +00:00
|
|
|
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
|
2024-03-08 20:03:09 +00:00
|
|
|
all-features = true
|