mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
bdc649a2d1
# Objective - Contributes to #15460 ## Solution - Removed `thiserror` from `bevy_transform`
60 lines
1.9 KiB
TOML
60 lines
1.9 KiB
TOML
[package]
|
|
name = "bevy_transform"
|
|
version = "0.15.0-dev"
|
|
edition = "2021"
|
|
description = "Provides transform 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.15.0-dev", optional = true }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.15.0-dev", features = [
|
|
"bevy_reflect",
|
|
], optional = true }
|
|
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.15.0-dev", optional = true }
|
|
bevy_math = { path = "../bevy_math", version = "0.15.0-dev", default-features = false }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.15.0-dev", features = [
|
|
"bevy",
|
|
], optional = true }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
derive_more = { version = "1", default-features = false, features = [
|
|
"error",
|
|
"from",
|
|
"display",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.15.0-dev" }
|
|
bevy_math = { path = "../bevy_math", version = "0.15.0-dev", default-features = false, features = [
|
|
"approx",
|
|
] }
|
|
approx = "0.5.1"
|
|
|
|
[features]
|
|
# 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"]
|
|
|
|
serialize = ["dep:serde", "bevy_math/serialize"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|