aboutsummaryrefslogtreecommitdiff
path: root/crates/rapier2d
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-07-15 14:39:56 +0200
committerGitHub <noreply@github.com>2024-07-15 14:39:56 +0200
commit6a295d3e8e372390174cc5b3e286631eb47495c1 (patch)
tree73c42fa0f5fa79589dfa2f4494e24d3d65336e4c /crates/rapier2d
parent685dc1729d066af1b1a71a6536d9c35af9503d00 (diff)
downloadrapier-6a295d3e8e372390174cc5b3e286631eb47495c1.tar.gz
rapier-6a295d3e8e372390174cc5b3e286631eb47495c1.tar.bz2
rapier-6a295d3e8e372390174cc5b3e286631eb47495c1.zip
Fix string serialization for broadphase multisap (#675)
Diffstat (limited to 'crates/rapier2d')
-rw-r--r--crates/rapier2d/Cargo.toml19
1 files changed, 16 insertions, 3 deletions
diff --git a/crates/rapier2d/Cargo.toml b/crates/rapier2d/Cargo.toml
index ec363c1..e8e1ad2 100644
--- a/crates/rapier2d/Cargo.toml
+++ b/crates/rapier2d/Cargo.toml
@@ -7,7 +7,13 @@ documentation = "https://docs.rs/rapier2d"
homepage = "https://rapier.rs"
repository = "https://github.com/dimforge/rapier"
readme = "README.md"
-categories = ["science", "game-development", "mathematics", "simulation", "wasm"]
+categories = [
+ "science",
+ "game-development",
+ "mathematics",
+ "simulation",
+ "wasm",
+]
keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
license = "Apache-2.0"
edition = "2021"
@@ -26,7 +32,13 @@ simd-nightly = ["simba/portable_simd", "simd-is-enabled"]
# enabled with the "simd-stable" or "simd-nightly" feature.
simd-is-enabled = ["dep:vec_map"]
wasm-bindgen = ["instant/wasm-bindgen"]
-serde-serialize = ["nalgebra/serde-serialize", "parry2d/serde-serialize", "dep:serde", "bit-vec/serde", "arrayvec/serde"]
+serde-serialize = [
+ "nalgebra/serde-serialize",
+ "parry2d/serde-serialize",
+ "dep:serde",
+ "bit-vec/serde",
+ "arrayvec/serde",
+]
enhanced-determinism = ["simba/libm_force", "parry2d/enhanced-determinism"]
debug-render = []
profiler = ["dep:instant"] # Enables the internal profiler.
@@ -70,5 +82,6 @@ thiserror = "1"
[dev-dependencies]
bincode = "1"
+serde_json = "1"
serde = { version = "1", features = ["derive"] }
-oorandom = { version = "11", default-features = false } \ No newline at end of file
+oorandom = { version = "11", default-features = false }