mirror of
https://github.com/bevyengine/bevy
synced 2024-12-18 17:13:10 +00:00
a6adced9ed
# Objective - Remove `derive_more`'s error derivation and replace it with `thiserror` ## Solution - Added `derive_more`'s `error` feature to `deny.toml` to prevent it sneaking back in. - Reverted to `thiserror` error derivation ## Notes Merge conflicts were too numerous to revert the individual changes, so this reversion was done manually. Please scrutinise carefully during review.
57 lines
1.9 KiB
TOML
57 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 }
|
|
thiserror = { version = "2", default-features = false }
|
|
derive_more = { version = "1", default-features = false, features = ["from"] }
|
|
|
|
[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
|