bevy/crates/bevy_transform/Cargo.toml
Joona Aalto 536a7bd810
Add approx feature to bevy_math (#11176)
# Objective

`bevy_math` re-exports Glam, but doesn't have a feature for enabling
`approx` for it. Many projects (including some of Bevy's own crates)
need `approx`, and it'd be nice if you didn't have to manually add Glam
to specify the feature for it.

## Solution

Add an `approx` feature to `bevy_math`.
2024-01-02 18:10:44 +00:00

34 lines
1,005 B
TOML

[package]
name = "bevy_transform"
version = "0.12.0"
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.12.0" }
bevy_ecs = { path = "../bevy_ecs", version = "0.12.0", features = [
"bevy_reflect",
] }
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.12.0" }
bevy_math = { path = "../bevy_math", version = "0.12.0" }
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0", features = [
"bevy",
] }
serde = { version = "1", features = ["derive"], optional = true }
thiserror = "1.0"
[dev-dependencies]
bevy_tasks = { path = "../bevy_tasks", version = "0.12.0" }
bevy_math = { path = "../bevy_math", version = "0.12.0", features = ["approx"] }
approx = "0.5.1"
[features]
serialize = ["dep:serde", "bevy_math/serialize"]
[lints]
workspace = true