From 8751adc23feb0184e5873019eb6b008f2b3271ef Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Fri, 10 Jan 2025 15:19:40 +0100 Subject: [PATCH] update rapier to 0.23 --- docs-examples/2d/rust/Cargo.toml | 2 +- docs-examples/3d/rust/Cargo.toml | 2 +- docs-examples/Cargo.lock | 52 ++++++++++++++++++++++++-------- docs-examples/README.md | 2 +- 4 files changed, 42 insertions(+), 16 deletions(-) diff --git a/docs-examples/2d/rust/Cargo.toml b/docs-examples/2d/rust/Cargo.toml index c02e497..a00c95e 100644 --- a/docs-examples/2d/rust/Cargo.toml +++ b/docs-examples/2d/rust/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rapier2d = { version = "0.22.0", features = ["serde-serialize"] } +rapier2d = { version = "0.23.0", features = ["serde-serialize"] } nalgebra = { version = "0.33" } # Used for events handling crossbeam = "0.8.4" diff --git a/docs-examples/3d/rust/Cargo.toml b/docs-examples/3d/rust/Cargo.toml index f567b2a..d46f415 100644 --- a/docs-examples/3d/rust/Cargo.toml +++ b/docs-examples/3d/rust/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rapier3d = { version = "0.22", features = ["enhanced-determinism"] } +rapier3d = { version = "0.23", features = ["enhanced-determinism"] } nalgebra = { version = "0.33", features = ["convert-glam027"] } # Used to demonstrate compatibility. glam = "0.27.0" diff --git a/docs-examples/Cargo.lock b/docs-examples/Cargo.lock index ca45f03..72f39cd 100644 --- a/docs-examples/Cargo.lock +++ b/docs-examples/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ab_glyph" @@ -1680,6 +1680,15 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +[[package]] +name = "ena" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" +dependencies = [ + "log", +] + [[package]] name = "encase" version = "0.8.0" @@ -3103,15 +3112,16 @@ dependencies = [ [[package]] name = "parry2d" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9dedc688fd089d8f48a4f3ef704b5ba6945288ee8c9b511b130d8dcb84e4ee" +checksum = "efd0ac62e76d6143e008a4988d795550d47aba40a50929d6b7b85e4230784403" dependencies = [ "approx", "arrayvec", "bitflags 2.5.0", "downcast-rs", "either", + "ena", "log", "nalgebra", "num-derive", @@ -3152,15 +3162,16 @@ dependencies = [ [[package]] name = "parry3d" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33f1a44b6ced345a7bb52f5df9912fecae07c6e22d231ba1bab7abf807f52ec9" +checksum = "ecb572cea5c76b06bc744aaefdbb9e6ea9e5695f50f79c0227bddecd6ec925a4" dependencies = [ "approx", "arrayvec", "bitflags 2.5.0", "downcast-rs", "either", + "ena", "indexmap", "log", "nalgebra", @@ -3309,6 +3320,19 @@ name = "profiling" version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43d84d1d7a6ac92673717f9f6d1518374ef257669c24ebc5ac25d5033828be58" +dependencies = [ + "profiling-procmacros", +] + +[[package]] +name = "profiling-procmacros" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a65f2e60fbf1063868558d69c6beacf412dc755f9fc020f514b7955fc914fe30" +dependencies = [ + "quote", + "syn 2.0.65", +] [[package]] name = "quote" @@ -3371,9 +3395,9 @@ dependencies = [ [[package]] name = "rapier2d" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643116992c25c96a07e1aae7d59fba207f01979dc9a107c42bcd4c4b83ef78b2" +checksum = "d7c828d48e674b5821cc0af3f577d3cbf8daa2eb567e2ac266f61b61c57f9acc" dependencies = [ "approx", "arrayvec", @@ -3386,7 +3410,8 @@ dependencies = [ "num-derive", "num-traits", "ordered-float", - "parry2d 0.17.0", + "parry2d 0.18.0", + "profiling", "rustc-hash 2.0.0", "serde", "simba", @@ -3418,9 +3443,9 @@ dependencies = [ [[package]] name = "rapier3d" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87360935d1a54802efe0ddf908489436bb49c84865c36c930131843c7b1dc97d" +checksum = "57a93155032849cf4ae33481c60c8d1fd2a8ded14553e10539aaf1d401b65ecc" dependencies = [ "approx", "arrayvec", @@ -3433,7 +3458,8 @@ dependencies = [ "num-derive", "num-traits", "ordered-float", - "parry3d 0.17.0", + "parry3d 0.18.0", + "profiling", "rustc-hash 2.0.0", "simba", "thiserror", @@ -3462,7 +3488,7 @@ dependencies = [ "bincode", "crossbeam", "nalgebra", - "rapier2d 0.22.0", + "rapier2d 0.23.0", "serde", ] @@ -3472,7 +3498,7 @@ version = "0.1.0" dependencies = [ "glam", "nalgebra", - "rapier3d 0.22.0", + "rapier3d 0.23.0", ] [[package]] diff --git a/docs-examples/README.md b/docs-examples/README.md index 97b221a..df5fba1 100644 --- a/docs-examples/README.md +++ b/docs-examples/README.md @@ -7,7 +7,7 @@ By running `./generate_user_guide.sh` at the root path, These examples are copie ## Rust The produced binary might or might not produce something useful, it's -intended usage is to run `cargo check --workspace`. +intended usage is to run `cargo check --workspace --examples`. ## Javascript