feat: reduce the amount of duplicate work the broad-phase is doing for user changes and CCD + release v0.28.0 (#872)

* feat: reduce the amount of duplicate work the broad-phase is doing for user changes and CCD

* Release v0.28.0

* chore: fix warnings

* chore: clippy fixes

* chore: more clippy fixes
This commit is contained in:
Sébastien Crozet
2025-08-08 18:15:34 +02:00
committed by GitHub
parent 038eb34aba
commit 317322b31b
43 changed files with 351 additions and 328 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier2d-f64"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d"
@@ -68,8 +68,8 @@ required-features = ["dim2", "f64"]
vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d-f64 = "0.22.0"
nalgebra = "0.34"
parry2d-f64 = "0.23.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier2d"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d"
@@ -69,8 +69,8 @@ required-features = ["dim2", "f32"]
vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d = "0.22.0"
nalgebra = "0.34"
parry2d = "0.23.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier3d-f64"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
@@ -71,8 +71,8 @@ required-features = ["dim3", "f64"]
vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d-f64 = "0.22.0"
nalgebra = "0.34"
parry3d-f64 = "0.23.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier3d-meshloader"
version = "0.8.0"
version = "0.9.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "STL file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-meshloader"
@@ -29,4 +29,4 @@ thiserror = "2"
profiling = "1.0"
mesh-loader = "0.1.12"
rapier3d = { version = "0.27.0", path = "../rapier3d" }
rapier3d = { version = "0.28.0", path = "../rapier3d" }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier3d-urdf"
version = "0.8.0"
version = "0.9.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "URDF file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-urdf"
@@ -31,5 +31,5 @@ anyhow = "1"
bitflags = "2"
urdf-rs = "0.9"
rapier3d = { version = "0.27.0", path = "../rapier3d" }
rapier3d-meshloader = { version = "0.8.0", path = "../rapier3d-meshloader", default-features = false, optional = true }
rapier3d = { version = "0.28.0", path = "../rapier3d" }
rapier3d-meshloader = { version = "0.9.0", path = "../rapier3d-meshloader", default-features = false, optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier3d"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
@@ -73,8 +73,8 @@ required-features = ["dim3", "f32"]
vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d = "0.22.0"
nalgebra = "0.34"
parry3d = "0.23.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed2d-f64"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
@@ -43,9 +43,9 @@ unstable-puffin-pr-235 = []
features = ["parallel", "profiler_ui"]
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam029"] }
rand = "0.8"
rand_pcg = "0.3"
nalgebra = { version = "0.34", features = ["rand", "glam029"] }
rand = "0.9"
rand_pcg = "0.9"
web-time = { version = "1.1" }
bitflags = "2"
num_cpus = { version = "1", optional = true }
@@ -98,5 +98,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier2d-f64"
path = "../rapier2d-f64"
version = "0.27.0"
version = "0.28.0"
features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed2d"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
@@ -43,9 +43,9 @@ unstable-puffin-pr-235 = []
features = ["parallel", "other-backends", "profiler_ui"]
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam029"] }
rand = "0.8"
rand_pcg = "0.3"
nalgebra = { version = "0.34", features = ["rand", "glam029"] }
rand = "0.9"
rand_pcg = "0.9"
web-time = { version = "1.1" }
bitflags = "2"
num_cpus = { version = "1", optional = true }
@@ -98,5 +98,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier2d"
path = "../rapier2d"
version = "0.27.0"
version = "0.28.0"
features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed3d-f64"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
@@ -45,9 +45,9 @@ unstable-puffin-pr-235 = []
features = ["parallel", "profiler_ui"]
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam029"] }
rand = "0.8"
rand_pcg = "0.3"
nalgebra = { version = "0.34", features = ["rand", "glam029"] }
rand = "0.9"
rand_pcg = "0.9"
web-time = { version = "1.1" }
bitflags = "2"
num_cpus = { version = "1", optional = true }
@@ -99,5 +99,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier3d-f64"
path = "../rapier3d-f64"
version = "0.27.0"
version = "0.28.0"
features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed3d"
version = "0.27.0"
version = "0.28.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
@@ -43,9 +43,9 @@ unstable-puffin-pr-235 = []
features = ["parallel", "other-backends", "profiler_ui"]
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam029"] }
rand = "0.8"
rand_pcg = "0.3"
nalgebra = { version = "0.34", features = ["rand", "glam029"] }
rand = "0.9"
rand_pcg = "0.9"
web-time = { version = "1.1" }
bitflags = "2"
glam = { version = "0.27", optional = true } # For Physx
@@ -97,5 +97,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier3d"
path = "../rapier3d"
version = "0.27.0"
version = "0.28.0"
features = ["serde-serialize", "debug-render", "profiler"]