bevy/crates/bevy_transform/Cargo.toml
Zachary Harrold bdc649a2d1
Remove thiserror from bevy_transform (#15761)
# Objective

- Contributes to #15460

## Solution

- Removed `thiserror` from `bevy_transform`
2024-10-09 14:27:30 +00:00

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