[dependencies.approx]
optional = true
version = "0.5"
[dependencies.bevy_reflect]
features = ["glam"]
optional = true
version = "0.15.0"
[dependencies.derive_more]
default-features = false
features = ["error", "from", "display", "into"]
version = "1"
[dependencies.glam]
features = ["bytemuck"]
version = "0.29"
[dependencies.itertools]
version = "0.13.0"
[dependencies.libm]
optional = true
version = "0.2"
[dependencies.rand]
default-features = false
features = ["alloc"]
optional = true
version = "0.8"
[dependencies.rand_distr]
optional = true
version = "0.4.3"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.smallvec]
version = "1.11"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.bevy_math]
features = ["approx"]
version = "0.15.0"
[dev-dependencies.glam]
features = ["approx"]
version = "0.29"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rand_chacha]
version = "0.3"
[features]
approx = ["dep:approx", "glam/approx"]
curve = []
debug_glam_assert = ["glam/debug-glam-assert"]
default = ["rand", "bevy_reflect", "curve"]
glam_assert = ["glam/glam-assert"]
libm = ["dep:libm", "glam/libm"]
mint = ["glam/mint"]
rand = ["dep:rand", "dep:rand_distr", "glam/rand"]
serialize = ["dep:serde", "glam/serde"]
[lib]
name = "bevy_math"
path = "src/lib.rs"
[lints.clippy]
alloc_instead_of_core = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_long_first_doc_paragraph = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(docsrs_dep)"]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Provides math functionality for Bevy Engine"
edition = "2021"
homepage = "https://bevyengine.org"
keywords = ["bevy"]
license = "MIT OR Apache-2.0"
name = "bevy_math"
readme = "README.md"
repository = "https://github.com/bevyengine/bevy"
rust-version = "1.68.2"
version = "0.15.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]