aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml8
-rw-r--r--crates/rapier2d-f64/Cargo.toml44
-rw-r--r--crates/rapier2d/Cargo.toml44
-rw-r--r--crates/rapier3d-f64/Cargo.toml42
-rw-r--r--crates/rapier3d/Cargo.toml44
5 files changed, 95 insertions, 87 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 023432e..183bfa7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[workspace]
-members = [ "crates/rapier2d", "crates/rapier2d-f64", "crates/rapier_testbed2d", "crates/rapier_testbed2d-f64", "examples2d", "benchmarks2d",
- "crates/rapier3d", "crates/rapier3d-f64", "crates/rapier_testbed3d", "crates/rapier_testbed3d-f64", "examples3d", "examples3d-f64", "benchmarks3d" ]
+members = ["crates/rapier2d", "crates/rapier2d-f64", "crates/rapier_testbed2d", "crates/rapier_testbed2d-f64", "examples2d", "benchmarks2d",
+ "crates/rapier3d", "crates/rapier3d-f64", "crates/rapier_testbed3d", "crates/rapier_testbed3d-f64", "examples3d", "examples3d-f64", "benchmarks3d"]
resolver = "2"
[patch.crates-io]
@@ -8,8 +8,8 @@ resolver = "2"
#simba = { path = "../simba" }
#kiss3d = { path = "../kiss3d" }
-#parry2d = { path = "../parry/crates/parry2d" }
-#parry3d = { path = "../parry/crates/parry3d" }
+parry2d = { path = "../parry/crates/parry2d" }
+parry3d = { path = "../parry/crates/parry3d" }
#parry2d-f64 = { path = "../parry/crates/parry2d-f64" }
#parry3d-f64 = { path = "../parry/crates/parry3d-f64" }
# nalgebra = { path = "../nalgebra" }
diff --git a/crates/rapier2d-f64/Cargo.toml b/crates/rapier2d-f64/Cargo.toml
index 90ee6b5..fc0d7f4 100644
--- a/crates/rapier2d-f64/Cargo.toml
+++ b/crates/rapier2d-f64/Cargo.toml
@@ -1,14 +1,14 @@
[package]
-name = "rapier2d-f64"
+name = "rapier2d-f64"
version = "0.18.0"
-authors = [ "Sébastien Crozet <developer@crozet.re>" ]
+authors = ["Sébastien Crozet <developer@crozet.re>"]
description = "2-dimensional physics engine in Rust."
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"]
-keywords = [ "physics", "dynamics", "rigid", "real-time", "impulse_joints" ]
+categories = ["science", "game-development", "mathematics", "simulation", "wasm"]
+keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
license = "Apache-2.0"
edition = "2021"
@@ -16,23 +16,23 @@ edition = "2021"
maintenance = { status = "actively-developed" }
[features]
-default = [ "dim2", "f64" ]
-dim2 = [ ]
-f64 = [ ]
-parallel = [ "rayon" ]
-simd-stable = [ "simba/wide", "simd-is-enabled" ]
-simd-nightly = [ "simba/packed_simd", "simd-is-enabled" ]
+default = ["dim2", "f64"]
+dim2 = []
+f64 = []
+parallel = ["rayon"]
+simd-stable = ["simba/wide", "simd-is-enabled"]
+simd-nightly = ["simba/packed_simd", "simd-is-enabled"]
# Do not enable this feature directly. It is automatically
# enabled with the "simd-stable" or "simd-nightly" feature.
-simd-is-enabled = [ "vec_map" ]
-wasm-bindgen = [ "instant/wasm-bindgen" ]
-serde-serialize = [ "nalgebra/serde-serialize", "parry2d-f64/serde-serialize", "serde", "bit-vec/serde", "arrayvec/serde" ]
-enhanced-determinism = [ "simba/libm_force", "parry2d-f64/enhanced-determinism" ]
-debug-render = [ ]
-profiler = [ "instant" ] # Enables the internal profiler.
+simd-is-enabled = ["vec_map"]
+wasm-bindgen = ["instant/wasm-bindgen"]
+serde-serialize = ["nalgebra/serde-serialize", "parry2d-f64/serde-serialize", "serde", "bit-vec/serde", "arrayvec/serde"]
+enhanced-determinism = ["simba/libm_force", "parry2d-f64/enhanced-determinism"]
+debug-render = []
+profiler = ["instant"] # Enables the internal profiler.
# Feature used for debugging only.
-debug-disable-legitimate-fe-exceptions = [ ]
+debug-disable-legitimate-fe-exceptions = []
# Feature used for development and debugging only.
# Do not enable this unless you are working on the engine internals.
@@ -44,12 +44,12 @@ features = ["parallel", "simd-stable", "serde-serialize", "debug-render"]
[lib]
name = "rapier2d_f64"
path = "../../src/lib.rs"
-required-features = [ "dim2", "f64" ]
+required-features = ["dim2", "f64"]
[dependencies]
vec_map = { version = "0.8", optional = true }
-instant = { version = "0.1", features = [ "now" ], optional = true }
+instant = { version = "0.1", features = ["now"], optional = true }
num-traits = "0.2"
nalgebra = "0.32"
parry2d-f64 = "0.13.1"
@@ -60,11 +60,13 @@ crossbeam = "0.8"
arrayvec = "0.7"
bit-vec = "0.6"
rustc-hash = "1"
-serde = { version = "1", features = [ "derive" ], optional = true }
+serde = { version = "1", features = ["derive"], optional = true }
downcast-rs = "1.2"
num-derive = "0.4"
bitflags = "1"
+log = "0.4"
+ordered-float = "4"
[dev-dependencies]
bincode = "1"
-serde = { version = "1", features = [ "derive" ] }
+serde = { version = "1", features = ["derive"] }
diff --git a/crates/rapier2d/Cargo.toml b/crates/rapier2d/Cargo.toml
index 0d8bc24..891cbb5 100644
--- a/crates/rapier2d/Cargo.toml
+++ b/crates/rapier2d/Cargo.toml
@@ -1,14 +1,14 @@
[package]
-name = "rapier2d"
+name = "rapier2d"
version = "0.18.0"
-authors = [ "Sébastien Crozet <developer@crozet.re>" ]
+authors = ["Sébastien Crozet <developer@crozet.re>"]
description = "2-dimensional physics engine in Rust."
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"]
-keywords = [ "physics", "dynamics", "rigid", "real-time", "impulse_joints" ]
+categories = ["science", "game-development", "mathematics", "simulation", "wasm"]
+keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
license = "Apache-2.0"
edition = "2021"
@@ -16,23 +16,23 @@ edition = "2021"
maintenance = { status = "actively-developed" }
[features]
-default = [ "dim2", "f32" ]
-dim2 = [ ]
-f32 = [ ]
-parallel = [ "rayon" ]
-simd-stable = [ "simba/wide", "simd-is-enabled" ]
-simd-nightly = [ "simba/packed_simd", "simd-is-enabled" ]
+default = ["dim2", "f32"]
+dim2 = []
+f32 = []
+parallel = ["rayon"]
+simd-stable = ["simba/wide", "simd-is-enabled"]
+simd-nightly = ["simba/packed_simd", "simd-is-enabled"]
# Do not enable this feature directly. It is automatically
# enabled with the "simd-stable" or "simd-nightly" feature.
-simd-is-enabled = [ "vec_map" ]
-wasm-bindgen = [ "instant/wasm-bindgen" ]
-serde-serialize = [ "nalgebra/serde-serialize", "parry2d/serde-serialize", "serde", "bit-vec/serde", "arrayvec/serde" ]
-enhanced-determinism = [ "simba/libm_force", "parry2d/enhanced-determinism" ]
-debug-render = [ ]
-profiler = [ "instant" ] # Enables the internal profiler.
+simd-is-enabled = ["vec_map"]
+wasm-bindgen = ["instant/wasm-bindgen"]
+serde-serialize = ["nalgebra/serde-serialize", "parry2d/serde-serialize", "serde", "bit-vec/serde", "arrayvec/serde"]
+enhanced-determinism = ["simba/libm_force", "parry2d/enhanced-determinism"]
+debug-render = []
+profiler = ["instant"] # Enables the internal profiler.
# Feature used for debugging only.
-debug-disable-legitimate-fe-exceptions = [ ]
+debug-disable-legitimate-fe-exceptions = []
# Feature used for development and debugging only.
# Do not enable this unless you are working on the engine internals.
@@ -44,12 +44,12 @@ features = ["parallel", "simd-stable", "serde-serialize", "debug-render"]
[lib]
name = "rapier2d"
path = "../../src/lib.rs"
-required-features = [ "dim2", "f32" ]
+required-features = ["dim2", "f32"]
[dependencies]
vec_map = { version = "0.8", optional = true }
-instant = { version = "0.1", features = [ "now" ], optional = true }
+instant = { version = "0.1", features = ["now"], optional = true }
num-traits = "0.2"
nalgebra = "0.32"
parry2d = "0.13.1"
@@ -60,11 +60,13 @@ crossbeam = "0.8"
arrayvec = "0.7"
bit-vec = "0.6"
rustc-hash = "1"
-serde = { version = "1", features = [ "derive" ], optional = true }
+serde = { version = "1", features = ["derive"], optional = true }
downcast-rs = "1.2"
num-derive = "0.4"
bitflags = "1"
+log = "0.4"
+ordered-float = "4"
[dev-dependencies]
bincode = "1"
-serde = { version = "1", features = [ "derive" ] }
+serde = { version = "1", features = ["derive"] }
diff --git a/crates/rapier3d-f64/Cargo.toml b/crates/rapier3d-f64/Cargo.toml
index 12c71b7..a1279fd 100644
--- a/crates/rapier3d-f64/Cargo.toml
+++ b/crates/rapier3d-f64/Cargo.toml
@@ -1,14 +1,14 @@
[package]
-name = "rapier3d-f64"
+name = "rapier3d-f64"
version = "0.18.0"
-authors = [ "Sébastien Crozet <developer@crozet.re>" ]
+authors = ["Sébastien Crozet <developer@crozet.re>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
homepage = "https://rapier.rs"
repository = "https://github.com/dimforge/rapier"
readme = "README.md"
-categories = [ "science", "game-development", "mathematics", "simulation", "wasm"]
-keywords = [ "physics", "dynamics", "rigid", "real-time", "impulse_joints" ]
+categories = ["science", "game-development", "mathematics", "simulation", "wasm"]
+keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
license = "Apache-2.0"
edition = "2021"
@@ -16,23 +16,23 @@ edition = "2021"
maintenance = { status = "actively-developed" }
[features]
-default = [ "dim3", "f64" ]
-dim3 = [ ]
-f64 = [ ]
-parallel = [ "rayon" ]
-simd-stable = [ "parry3d-f64/simd-stable", "simba/wide", "simd-is-enabled" ]
-simd-nightly = [ "parry3d-f64/simd-nightly", "simba/packed_simd", "simd-is-enabled" ]
+default = ["dim3", "f64"]
+dim3 = []
+f64 = []
+parallel = ["rayon"]
+simd-stable = ["parry3d-f64/simd-stable", "simba/wide", "simd-is-enabled"]
+simd-nightly = ["parry3d-f64/simd-nightly", "simba/packed_simd", "simd-is-enabled"]
# Do not enable this feature directly. It is automatically
# enabled with the "simd-stable" or "simd-nightly" feature.
-simd-is-enabled = [ "vec_map" ]
-wasm-bindgen = [ "instant/wasm-bindgen" ]
-serde-serialize = [ "nalgebra/serde-serialize", "parry3d-f64/serde-serialize", "serde", "bit-vec/serde" ]
-enhanced-determinism = [ "simba/libm_force", "parry3d-f64/enhanced-determinism" ]
+simd-is-enabled = ["vec_map"]
+wasm-bindgen = ["instant/wasm-bindgen"]
+serde-serialize = ["nalgebra/serde-serialize", "parry3d-f64/serde-serialize", "serde", "bit-vec/serde"]
+enhanced-determinism = ["simba/libm_force", "parry3d-f64/enhanced-determinism"]
debug-render = []
-profiler = [ "instant" ] # Enables the internal profiler.
+profiler = ["instant"] # Enables the internal profiler.
# Feature used for debugging only.
-debug-disable-legitimate-fe-exceptions = [ ]
+debug-disable-legitimate-fe-exceptions = []
# Feature used for development and debugging only.
# Do not enable this unless you are working on the engine internals.
@@ -44,12 +44,12 @@ features = ["parallel", "simd-stable", "serde-serialize", "debug-render"]
[lib]
name = "rapier3d_f64"
path = "../../src/lib.rs"
-required-features = [ "dim3", "f64" ]
+required-features = ["dim3", "f64"]
[dependencies]
vec_map = { version = "0.8", optional = true }
-instant = { version = "0.1", features = [ "now" ], optional = true }
+instant = { version = "0.1", features = ["now"], optional = true }
num-traits = "0.2"
nalgebra = "0.32"
parry3d-f64 = "0.13.1"
@@ -60,11 +60,13 @@ crossbeam = "0.8"
arrayvec = "0.7"
bit-vec = "0.6"
rustc-hash = "1"
-serde = { version = "1", features = [ "derive" ], optional = true }
+serde = { version = "1", features = ["derive"], optional = true }
downcast-rs = "1.2"
num-derive = "0.4"
bitflags = "1"
+log = "0.4"
+ordered-float = "4"
[dev-dependencies]
bincode = "1"
-serde = { version = "1", features = [ "derive" ] }
+serde = { version = "1", features = ["derive"] }
diff --git a/crates/rapier3d/Cargo.toml b/crates/rapier3d/Cargo.toml
index 1d3605b..ee33214 100644
--- a/crates/rapier3d/Cargo.toml
+++ b/crates/rapier3d/Cargo.toml
@@ -1,14 +1,14 @@
[package]
-name = "rapier3d"
+name = "rapier3d"
version = "0.18.0"
-authors = [ "Sébastien Crozet <developer@crozet.re>" ]
+authors = ["Sébastien Crozet <developer@crozet.re>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
homepage = "https://rapier.rs"
repository = "https://github.com/dimforge/rapier"
readme = "README.md"
-categories = [ "science", "game-development", "mathematics", "simulation", "wasm"]
-keywords = [ "physics", "dynamics", "rigid", "real-time", "impulse_joints" ]
+categories = ["science", "game-development", "mathematics", "simulation", "wasm"]
+keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
license = "Apache-2.0"
edition = "2021"
@@ -16,23 +16,23 @@ edition = "2021"
maintenance = { status = "actively-developed" }
[features]
-default = [ "dim3", "f32" ]
-dim3 = [ ]
-f32 = [ ]
-parallel = [ "rayon" ]
-simd-stable = [ "parry3d/simd-stable", "simba/wide", "simd-is-enabled" ]
-simd-nightly = [ "parry3d/simd-nightly", "simba/packed_simd", "simd-is-enabled" ]
+default = ["dim3", "f32"]
+dim3 = []
+f32 = []
+parallel = ["rayon"]
+simd-stable = ["parry3d/simd-stable", "simba/wide", "simd-is-enabled"]
+simd-nightly = ["parry3d/simd-nightly", "simba/packed_simd", "simd-is-enabled"]
# Do not enable this feature directly. It is automatically
# enabled with the "simd-stable" or "simd-nightly" feature.
-simd-is-enabled = [ "vec_map" ]
-wasm-bindgen = [ "instant/wasm-bindgen" ]
-serde-serialize = [ "nalgebra/serde-serialize", "parry3d/serde-serialize", "serde", "bit-vec/serde" ]
-enhanced-determinism = [ "simba/libm_force", "parry3d/enhanced-determinism" ]
-debug-render = [ ]
-profiler = [ "instant" ] # Enables the internal profiler.
+simd-is-enabled = ["vec_map"]
+wasm-bindgen = ["instant/wasm-bindgen"]
+serde-serialize = ["nalgebra/serde-serialize", "parry3d/serde-serialize", "serde", "bit-vec/serde"]
+enhanced-determinism = ["simba/libm_force", "parry3d/enhanced-determinism"]
+debug-render = []
+profiler = ["instant"] # Enables the internal profiler.
# Feature used for debugging only.
-debug-disable-legitimate-fe-exceptions = [ ]
+debug-disable-legitimate-fe-exceptions = []
# Feature used for development and debugging only.
# Do not enable this unless you are working on the engine internals.
@@ -44,12 +44,12 @@ features = ["parallel", "simd-stable", "serde-serialize", "debug-render"]
[lib]
name = "rapier3d"
path = "../../src/lib.rs"
-required-features = [ "dim3", "f32" ]
+required-features = ["dim3", "f32"]
[dependencies]
vec_map = { version = "0.8", optional = true }
-instant = { version = "0.1", features = [ "now" ], optional = true }
+instant = { version = "0.1", features = ["now"], optional = true }
num-traits = "0.2"
nalgebra = "0.32"
parry3d = "0.13.1"
@@ -60,11 +60,13 @@ crossbeam = "0.8"
arrayvec = "0.7"
bit-vec = "0.6"
rustc-hash = "1"
-serde = { version = "1", features = [ "derive" ], optional = true }
+serde = { version = "1", features = ["derive"], optional = true }
downcast-rs = "1.2"
num-derive = "0.4"
bitflags = "1"
+log = "0.4"
+ordered-float = "4"
[dev-dependencies]
bincode = "1"
-serde = { version = "1", features = [ "derive" ] }
+serde = { version = "1", features = ["derive"] }