diff --git a/crates/bevy_animation/Cargo.toml b/crates/bevy_animation/Cargo.toml index 143eda5274bc3..07e9afbaffa96 100644 --- a/crates/bevy_animation/Cargo.toml +++ b/crates/bevy_animation/Cargo.toml @@ -50,7 +50,7 @@ tracing = { version = "0.1", default-features = false, features = ["std"] } bitvec = { version = "1" } [dev-dependencies] -itertools = "0.14" +itertools = "0.15" [target.'cfg(target_arch = "wasm32")'.dependencies] # TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption. diff --git a/crates/bevy_curve/Cargo.toml b/crates/bevy_curve/Cargo.toml index 62051e3de2cb1..dc7a5c096ff6e 100644 --- a/crates/bevy_curve/Cargo.toml +++ b/crates/bevy_curve/Cargo.toml @@ -15,7 +15,7 @@ bevy_math = { path = "../bevy_math", version = "0.20.0-dev", default-features = ] } bevy_reflect = { path = "../bevy_reflect", version = "0.20.0-dev", default-features = false, optional = true } -itertools = { version = "0.14.0", default-features = false } +itertools = { version = "0.15.0", default-features = false } thiserror = { version = "2", default-features = false } serde = { version = "1", default-features = false, features = [ "derive", diff --git a/crates/bevy_gltf/Cargo.toml b/crates/bevy_gltf/Cargo.toml index 0f850ec2f58a8..20a4c54ab4f2e 100644 --- a/crates/bevy_gltf/Cargo.toml +++ b/crates/bevy_gltf/Cargo.toml @@ -62,7 +62,7 @@ async-lock = { version = "3.0", default-features = false } thiserror = { version = "2", default-features = false } base64 = { version = "0.23.0", default-features = false, features = ["std"] } fixedbitset = "0.5" -itertools = "0.14" +itertools = "0.15" percent-encoding = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.140" diff --git a/crates/bevy_pbr/Cargo.toml b/crates/bevy_pbr/Cargo.toml index e0166637cbae6..da923f3384f1e 100644 --- a/crates/bevy_pbr/Cargo.toml +++ b/crates/bevy_pbr/Cargo.toml @@ -81,7 +81,7 @@ lz4_flex = { version = "0.14", default-features = false, features = [ range-alloc = { version = "0.1", optional = true } meshopt = { version = "0.6.2", optional = true } metis = { version = "0.2.2", optional = true } -itertools = { version = "0.14", optional = true } +itertools = { version = "0.15", optional = true } bitvec = { version = "1", optional = true } # direct dependency required for derive macro bytemuck = { version = "1", features = ["derive", "must_cast"] } diff --git a/crates/bevy_pbr/src/meshlet/from_mesh.rs b/crates/bevy_pbr/src/meshlet/from_mesh.rs index 3a5b9d90b717f..e4d2e2ef1b5e0 100644 --- a/crates/bevy_pbr/src/meshlet/from_mesh.rs +++ b/crates/bevy_pbr/src/meshlet/from_mesh.rs @@ -298,7 +298,7 @@ fn compute_meshlets( // For each triangle pair, count how many vertices they share let mut triangle_pair_to_shared_vertex_count = >::default(); for vertex_triangle_ids in vertices_to_triangles { - for (triangle_id1, triangle_id2) in vertex_triangle_ids.into_iter().tuple_combinations() { + for [triangle_id1, triangle_id2] in vertex_triangle_ids.into_iter().array_combinations() { let count = triangle_pair_to_shared_vertex_count .entry(( triangle_id1.min(triangle_id2), @@ -416,7 +416,7 @@ fn find_connected_meshlets( // For each meshlet pair, count how many vertices they share let mut meshlet_pair_to_shared_vertex_count = >::default(); for vertex_meshlet_ids in vertices_to_meshlets { - for (meshlet_id1, meshlet_id2) in vertex_meshlet_ids.into_iter().tuple_combinations() { + for [meshlet_id1, meshlet_id2] in vertex_meshlet_ids.into_iter().array_combinations() { let count = meshlet_pair_to_shared_vertex_count .entry((meshlet_id1.min(meshlet_id2), meshlet_id1.max(meshlet_id2))) .or_insert(0); diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 4b171f20d5f96..cf5bae0c5ecda 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -116,7 +116,7 @@ variadics_please = "2.0" tracy-client = { version = "0.19.0", optional = true } indexmap = { version = "2" } bitflags = "2" -itertools = "0.14" +itertools = "0.15" weak-table = "0.4" tracing = "0.1" static_assertions = "1"