* 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
102 lines
2.6 KiB
TOML
102 lines
2.6 KiB
TOML
[package]
|
|
name = "rapier_testbed3d"
|
|
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"
|
|
repository = "https://github.com/dimforge/rapier"
|
|
categories = [
|
|
"science",
|
|
"game-development",
|
|
"mathematics",
|
|
"simulation",
|
|
"wasm",
|
|
]
|
|
keywords = ["physics", "dynamics", "rigid", "real-time", "impulse_joints"]
|
|
license = "Apache-2.0"
|
|
edition = "2024"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[lib]
|
|
name = "rapier_testbed3d"
|
|
path = "../../src_testbed/lib.rs"
|
|
required-features = ["dim3"]
|
|
|
|
[lints]
|
|
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
|
'cfg(feature, values("dim2", "f64"))',
|
|
] }
|
|
clippy = { needless_lifetimes = "allow" }
|
|
|
|
[features]
|
|
default = ["dim3"]
|
|
dim3 = []
|
|
parallel = ["rapier/parallel", "num_cpus"]
|
|
other-backends = ["physx", "physx-sys", "glam"]
|
|
profiler_ui = ["dep:puffin_egui", "profiling/profile-with-puffin"]
|
|
# See https://github.com/dimforge/rapier/issues/760.
|
|
unstable-puffin-pr-235 = []
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["parallel", "other-backends", "profiler_ui"]
|
|
|
|
[dependencies]
|
|
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
|
|
num_cpus = { version = "1", optional = true }
|
|
physx = { version = "0.19", features = ["glam"], optional = true }
|
|
physx-sys = { version = "0.11", optional = true }
|
|
bincode = "1"
|
|
md5 = "0.7"
|
|
Inflector = "0.11"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
bevy_egui = "0.31"
|
|
bevy_ecs = "0.15"
|
|
bevy_core_pipeline = "0.15"
|
|
bevy_pbr = "0.15"
|
|
bevy_sprite = "0.15"
|
|
profiling = "1.0"
|
|
puffin_egui = { version = "0.29", optional = true }
|
|
indexmap = { version = "2", features = ["serde"] }
|
|
|
|
# Dependencies for native only.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
bevy = { version = "0.15", default-features = false, features = [
|
|
"bevy_winit",
|
|
"bevy_window",
|
|
"x11",
|
|
"tonemapping_luts",
|
|
"ktx2",
|
|
"zstd",
|
|
"bevy_render",
|
|
"bevy_pbr",
|
|
"bevy_gizmos",
|
|
"serialize"
|
|
] }
|
|
|
|
# Dependencies for WASM only.
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
bevy = { version = "0.15", default-features = false, features = [
|
|
"bevy_winit",
|
|
"tonemapping_luts",
|
|
"ktx2",
|
|
"zstd",
|
|
"bevy_render",
|
|
"bevy_pbr",
|
|
"bevy_gizmos",
|
|
] }
|
|
#bevy_webgl2 = "0.5"
|
|
|
|
[dependencies.rapier]
|
|
package = "rapier3d"
|
|
path = "../rapier3d"
|
|
version = "0.28.0"
|
|
features = ["serde-serialize", "debug-render", "profiler"]
|