Re-vendors wide 0.7 + safe_arch, restores the upstream simd-stable wiring in rapier3d/parry3d manifests and the cfg-simd source, and drops the added 'stripped build does not support SIMD' guards (upstream's simd-vs-enhanced-determinism exclusivity guard kept). Interleaved single-thread retest (min of 4): SIMD buys rapier 1.8-2.2x; box3d vs rapier-simd is now near parity — large_pyramid 1579 vs 1638 ms, joint_grid 957 vs 1008 ms (box3d ahead), many_pyramids 2389 vs 1970 ms (rapier ahead). box3d README grid updated with the honest three-column table; box3d keeps cross-arch determinism + zero deps at that speed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
61 lines
2 KiB
TOML
61 lines
2 KiB
TOML
[package]
|
|
name = "rapier3d"
|
|
version = "0.32.0"
|
|
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
|
|
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"]
|
|
license = "Apache-2.0"
|
|
rust-version = "1.86"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
default = ["dim3", "f32", "enhanced-determinism"]
|
|
dim2 = []
|
|
dim3 = []
|
|
f32 = []
|
|
f64 = []
|
|
parallel = []
|
|
simd-stable = ["parry3d/simd-stable", "simba/wide", "simd-is-enabled"]
|
|
simd-nightly = [
|
|
"simd-is-enabled",
|
|
]
|
|
# Do not enable this feature directly. It is automatically
|
|
# enabled with the "simd-stable" or "simd-nightly" feature.
|
|
simd-is-enabled = []
|
|
serde-serialize = []
|
|
enhanced-determinism = ["simba/libm_force", "parry3d/enhanced-determinism"]
|
|
debug-render = []
|
|
profiler = []
|
|
|
|
# Feature used for debugging only.
|
|
debug-disable-legitimate-fe-exceptions = []
|
|
|
|
# Feature used for development and debugging only.
|
|
# Do not enable this unless you are working on the engine internals.
|
|
dev-remove-slow-accessors = []
|
|
|
|
[lib]
|
|
name = "rapier3d"
|
|
path = "../../src/lib.rs"
|
|
required-features = ["dim3", "f32"]
|
|
|
|
[dependencies]
|
|
vec_map = { version = "0.8", path = "../../vendor/vec_map" }
|
|
num-traits = { version = "0.2", path = "../../vendor/num-traits" }
|
|
nalgebra = { version = "0.34", default-features = false, features = ["std"], path = "../../vendor/nalgebra" }
|
|
parry3d = { version = "0.26.0", default-features = false, features = ["alloc", "dim3", "f32", "required-features", "std"], path = "../../vendor/parry3d" }
|
|
simba = { version = "0.9.1", path = "../../vendor/simba" }
|
|
bitflags = { version = "2", path = "../../../../libs/bitflags" }
|
|
static_assertions = { version = "1", path = "../../vendor/static_assertions" }
|
|
wide = { version = "0.7.1", path = "../../vendor/wide" }
|