![dependabot[bot]](/assets/img/avatar_default.png)
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md">itertools's changelog</a>.</em></p> <blockquote> <h2>0.14.0</h2> <h3>Breaking</h3> <ul> <li>Increased MSRV to 1.63.0 (<a href="https://redirect.github.com/rust-itertools/itertools/issues/960">#960</a>)</li> <li>Removed generic parameter from <code>cons_tuples</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/988">#988</a>)</li> </ul> <h3>Added</h3> <ul> <li>Added <code>array_combinations</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/991">#991</a>)</li> <li>Added <code>k_smallest_relaxed</code> and variants (<a href="https://redirect.github.com/rust-itertools/itertools/issues/925">#925</a>)</li> <li>Added <code>next_array</code> and <code>collect_array</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/560">#560</a>)</li> <li>Implemented <code>DoubleEndedIterator</code> for <code>FilterOk</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/948">#948</a>)</li> <li>Implemented <code>DoubleEndedIterator</code> for <code>FilterMapOk</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/950">#950</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Allow <code>Q: ?Sized</code> in <code>Itertools::contains</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/971">#971</a>)</li> <li>Improved hygiene of <code>chain!</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/943">#943</a>)</li> <li>Improved <code>into_group_map_by</code> documentation (<a href="https://redirect.github.com/rust-itertools/itertools/issues/1000">#1000</a>)</li> <li>Improved <code>tree_reduce</code> documentation (<a href="https://redirect.github.com/rust-itertools/itertools/issues/955">#955</a>)</li> <li>Improved discoverability of <code>merge_join_by</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/966">#966</a>)</li> <li>Improved discoverability of <code>take_while_inclusive</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/972">#972</a>)</li> <li>Improved documentation of <code>find_or_last</code> and <code>find_or_first</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/984">#984</a>)</li> <li>Prevented exponentially large type sizes in <code>tuple_combinations</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/945">#945</a>)</li> <li>Added <code>track_caller</code> attr for <code>asser_equal</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/976">#976</a>)</li> </ul> <h3>Notable Internal Changes</h3> <ul> <li>Fixed clippy lints (<a href="https://redirect.github.com/rust-itertools/itertools/issues/956">#956</a>, <a href="https://redirect.github.com/rust-itertools/itertools/issues/987">#987</a>, <a href="https://redirect.github.com/rust-itertools/itertools/issues/1008">#1008</a>)</li> <li>Addressed warnings within doctests (<a href="https://redirect.github.com/rust-itertools/itertools/issues/964">#964</a>)</li> <li>CI: Run most tests with miri (<a href="https://redirect.github.com/rust-itertools/itertools/issues/961">#961</a>)</li> <li>CI: Speed up "cargo-semver-checks" action (<a href="https://redirect.github.com/rust-itertools/itertools/issues/938">#938</a>)</li> <li>Changed an instance of <code>default_features</code> in <code>Cargo.toml</code> to <code>default-features</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/985">#985</a>)</li> </ul> <h2>0.13.0</h2> <h3>Breaking</h3> <ul> <li>Removed implementation of <code>DoubleEndedIterator</code> for <code>ConsTuples</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/853">#853</a>)</li> <li>Made <code>MultiProduct</code> fused and fixed on an empty iterator (<a href="https://redirect.github.com/rust-itertools/itertools/issues/835">#835</a>, <a href="https://redirect.github.com/rust-itertools/itertools/issues/834">#834</a>)</li> <li>Changed <code>iproduct!</code> to return tuples for maxi one iterator too (<a href="https://redirect.github.com/rust-itertools/itertools/issues/870">#870</a>)</li> <li>Changed <code>PutBack::put_back</code> to return the old value (<a href="https://redirect.github.com/rust-itertools/itertools/issues/880">#880</a>)</li> <li>Removed deprecated <code>repeat_call, Itertools::{foreach, step, map_results, fold_results}</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/878">#878</a>)</li> <li>Removed <code>TakeWhileInclusive::new</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/912">#912</a>)</li> </ul> <h3>Added</h3> <ul> <li>Added <code>Itertools::{smallest_by, smallest_by_key, largest, largest_by, largest_by_key}</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/654">#654</a>, <a href="https://redirect.github.com/rust-itertools/itertools/issues/885">#885</a>)</li> <li>Added <code>Itertools::tail</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/899">#899</a>)</li> <li>Implemented <code>DoubleEndedIterator</code> for <code>ProcessResults</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/910">#910</a>)</li> <li>Implemented <code>Debug</code> for <code>FormatWith</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/931">#931</a>)</li> <li>Added <code>Itertools::get</code> (<a href="https://redirect.github.com/rust-itertools/itertools/issues/891">#891</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Deprecated <code>Itertools::group_by</code> (renamed <code>chunk_by</code>) (<a href="https://redirect.github.com/rust-itertools/itertools/issues/866">#866</a>, <a href="https://redirect.github.com/rust-itertools/itertools/issues/879">#879</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="a015a68315
"><code>a015a68</code></a> Add <code>next_array</code> and <code>collect_array</code></li> <li><a href="a1213e1c81
"><code>a1213e1</code></a> Prepare v0.14.0 release</li> <li><a href="ff0c942b2e
"><code>ff0c942</code></a> fix clippy lints</li> <li><a href="f80883b8e0
"><code>f80883b</code></a> Fix into_group_map_by documentation errors</li> <li><a href="b793238ff1
"><code>b793238</code></a> Add track_caller for asser_equal</li> <li><a href="5d4056b643
"><code>5d4056b</code></a> <code>default_features</code> is deprecated - switch it to <code>default-features</code></li> <li><a href="a447b68960
"><code>a447b68</code></a> doc for added trait</li> <li><a href="d0479b0807
"><code>d0479b0</code></a> "nitpicks"</li> <li><a href="35c78ce0bc
"><code>35c78ce</code></a> IndexMut -> BorrowMut<slice></li> <li><a href="deb53ba210
"><code>deb53ba</code></a> refactored to share code</li> <li>Additional commits viewable in <a href="https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0">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>
87 lines
2.8 KiB
TOML
87 lines
2.8 KiB
TOML
[package]
|
|
name = "bevy_math"
|
|
version = "0.16.0-dev"
|
|
edition = "2024"
|
|
description = "Provides math functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.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", default-features = false, features = ["bytemuck"] }
|
|
thiserror = { version = "2", default-features = false }
|
|
derive_more = { version = "1", 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.16.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", 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"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|