![dependabot[bot]](/assets/img/avatar_default.png)
Updates the requirements on [derive_more](https://github.com/JelteF/derive_more) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JelteF/derive_more/releases">derive_more's releases</a>.</em></p> <blockquote> <h2>2.0.1</h2> <p><a href="https://docs.rs/derive_more/2.0.1">API docs</a> <a href="https://github.com/JelteF/derive_more/blob/v2.0.1/CHANGELOG.md#201---2025-02-03">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md">derive_more's changelog</a>.</em></p> <blockquote> <h2>2.0.1 - 2025-02-03</h2> <h3>Added</h3> <ul> <li>Add crate metadata for the Rust Playground. This makes sure that the Rust Playground will have all <code>derive_more</code> features available once <a href="https://docs.rs/selectors/latest/selectors"><code>selectors</code></a> crate updates its <code>derive_more</code> version. (<a href="https://redirect.github.com/JelteF/derive_more/pull/445">#445</a>)</li> </ul> <h2>2.0.0 - 2025-02-03</h2> <h3>Breaking changes</h3> <ul> <li><code>use derive_more::SomeTrait</code> now imports macro only. Importing macro with its trait along is possible now via <code>use derive_more::with_trait::SomeTrait</code>. (<a href="https://redirect.github.com/JelteF/derive_more/pull/406">#406</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no <code>_variant</code> placeholder). (<a href="https://redirect.github.com/JelteF/derive_more/pull/395">#395</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Associated types of type parameters not being treated as generics in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/399">#399</a>)</li> <li><code>unreachable_code</code> warnings on generated code when <code>!</code> (never type) is used. (<a href="https://redirect.github.com/JelteF/derive_more/pull/404">#404</a>)</li> <li>Ambiguous associated item error when deriving <code>TryFrom</code>, <code>TryInto</code> or <code>FromStr</code> with an associated item called <code>Error</code> or <code>Err</code> respectively. (<a href="https://redirect.github.com/JelteF/derive_more/pull/410">#410</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum being incorrectly treated as transparent or wrapping. (<a href="https://redirect.github.com/JelteF/derive_more/pull/395">#395</a>)</li> <li>Omitted raw identifiers in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/431">#431</a>)</li> <li>Incorrect rendering of raw identifiers as field names in <code>Debug</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/431">#431</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum not working transparently for directly specified fields. (<a href="https://redirect.github.com/JelteF/derive_more/pull/438">#438</a>)</li> <li>Incorrect dereferencing of unsized fields in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/440">#440</a>)</li> </ul> <h2>0.99.19 - 2025-02-03</h2> <ul> <li>Add crate metadata for the Rust Playground.</li> </ul> <h2>1.0.0 - 2024-08-07</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="a78d8ee41d
"><code>a78d8ee</code></a> chore: Release</li> <li><a href="2aeee4d1c0
"><code>2aeee4d</code></a> Update changelog (<a href="https://redirect.github.com/JelteF/derive_more/issues/446">#446</a>)</li> <li><a href="5afbaa1d8e
"><code>5afbaa1</code></a> Add Rust Playground metadata (<a href="https://redirect.github.com/JelteF/derive_more/issues/445">#445</a>)</li> <li><a href="d6c3315f12
"><code>d6c3315</code></a> Prepare 2.0.0 release (<a href="https://redirect.github.com/JelteF/derive_more/issues/444">#444</a>)</li> <li><a href="c5e5e82c0a
"><code>c5e5e82</code></a> Fix unsized fields usage in <code>Display</code>/<code>Debug</code> derives (<a href="https://redirect.github.com/JelteF/derive_more/issues/440">#440</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/432">#432</a>)</li> <li><a href="d391493a3c
"><code>d391493</code></a> Fix field transparency for top-level shared attribute in <code>Display</code> (<a href="https://redirect.github.com/JelteF/derive_more/issues/438">#438</a>)</li> <li><a href="f14c7a759a
"><code>f14c7a7</code></a> Fix raw identifiers usage in <code>Display</code>/<code>Debug</code> derives (<a href="https://redirect.github.com/JelteF/derive_more/issues/434">#434</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/431">#431</a>)</li> <li><a href="7b23de3d53
"><code>7b23de3</code></a> Update <code>convert_case</code> crate from 0.6 to 0.7 version (<a href="https://redirect.github.com/JelteF/derive_more/issues/436">#436</a>)</li> <li><a href="cc9957e9cd
"><code>cc9957e</code></a> Fix <code>compile_fail</code> tests and make Clippy happy for 1.84 Rust (<a href="https://redirect.github.com/JelteF/derive_more/issues/435">#435</a>)</li> <li><a href="17d61c3118
"><code>17d61c3</code></a> Fix transparency and behavior of shared formatting on enums (<a href="https://redirect.github.com/JelteF/derive_more/issues/395">#395</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/377">#377</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/411">#411</a>)</li> <li>Additional commits viewable in <a href="https://github.com/JelteF/derive_more/compare/v1.0.0...v2.0.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
90 lines
2.9 KiB
TOML
90 lines
2.9 KiB
TOML
[package]
|
|
name = "bevy_math"
|
|
version = "0.17.0-dev"
|
|
edition = "2024"
|
|
description = "Provides math functionality for Bevy Engine"
|
|
homepage = "https://bevy.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
rust-version = "1.85.0"
|
|
|
|
[dependencies]
|
|
glam = { version = "0.29.3", default-features = false, features = ["bytemuck"] }
|
|
thiserror = { version = "2", default-features = false }
|
|
derive_more = { version = "2", default-features = false, features = [
|
|
"from",
|
|
"into",
|
|
] }
|
|
itertools = { version = "0.14.0", default-features = false }
|
|
serde = { version = "1", default-features = false, features = [
|
|
"derive",
|
|
], optional = true }
|
|
libm = { version = "0.2", optional = true }
|
|
approx = { version = "0.5", default-features = false, optional = true }
|
|
rand = { version = "0.8", default-features = false, optional = true }
|
|
rand_distr = { version = "0.4.3", optional = true }
|
|
smallvec = { version = "1.11" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", default-features = false, features = [
|
|
"glam",
|
|
], optional = true }
|
|
variadics_please = "1.1"
|
|
|
|
[dev-dependencies]
|
|
approx = "0.5"
|
|
# Supply rngs for examples and tests
|
|
rand = "0.8"
|
|
rand_chacha = "0.3"
|
|
# Enable the approx feature when testing.
|
|
bevy_math = { path = ".", default-features = false, features = ["approx"] }
|
|
glam = { version = "0.29.3", default-features = false, features = ["approx"] }
|
|
|
|
[features]
|
|
default = ["std", "rand", "curve"]
|
|
std = [
|
|
"alloc",
|
|
"glam/std",
|
|
"derive_more/std",
|
|
"itertools/use_std",
|
|
"serde?/std",
|
|
"approx?/std",
|
|
"rand?/std",
|
|
"rand_distr?/std",
|
|
"bevy_reflect?/std",
|
|
]
|
|
alloc = [
|
|
"itertools/use_alloc",
|
|
"serde?/alloc",
|
|
"rand?/alloc",
|
|
"rand_distr?/alloc",
|
|
]
|
|
|
|
serialize = ["dep:serde", "glam/serde"]
|
|
# Enable approx for glam types to approximate floating point equality comparisons and assertions
|
|
approx = ["dep:approx", "glam/approx"]
|
|
# Enable interoperation of glam types with mint-compatible libraries
|
|
mint = ["glam/mint"]
|
|
# Enable libm mathematical functions for glam types to ensure consistent outputs
|
|
# across platforms at the cost of losing hardware-level optimization using intrinsics
|
|
libm = ["dep:libm", "glam/libm"]
|
|
# Enable assertions to check the validity of parameters passed to glam
|
|
glam_assert = ["glam/glam-assert"]
|
|
# Enable assertions in debug builds to check the validity of parameters passed to glam
|
|
debug_glam_assert = ["glam/debug-glam-assert"]
|
|
# Enable the rand dependency for shape_sampling
|
|
rand = ["dep:rand", "dep:rand_distr", "glam/rand"]
|
|
# Include code related to the Curve trait
|
|
curve = []
|
|
# Enable bevy_reflect (requires alloc)
|
|
bevy_reflect = ["dep:bevy_reflect", "alloc"]
|
|
# Enable libm mathematical functions as a fallback for no_std environments.
|
|
# Can be overridden with std feature.
|
|
nostd-libm = ["dep:libm", "glam/nostd-libm"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|