[package] name = "rapier_testbed2d" version = "0.32.0" authors = ["Sébastien Crozet "] description = "Testbed for the Rapier 2-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_testbed2d" path = "../../src_testbed/lib.rs" required-features = ["dim2"] [lints] rust.unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(feature, values("dim3", "f64"))', ] } clippy = { needless_lifetimes = "allow" } [features] default = ["dim2"] dim2 = [] parallel = ["rapier/parallel", "num_cpus"] other-backends = ["wrapped2d"] 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"] } glamx = "0.1" rand = "0.9" rand_pcg = "0.9" web-time = { version = "1.1" } bitflags = "2" num_cpus = { version = "1", optional = true } wrapped2d = { version = "0.4", optional = true } bincode = "1" Inflector = "0.11" md5 = "0.8" egui = "0.33" profiling = "1.0" puffin_egui = { version = "0.29", optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" indexmap = { version = "2", features = ["serde"] } kiss3d = { version = "0.40.0", features = ["egui", "parry", "serde"] } [dependencies.rapier] package = "rapier2d" path = "../rapier2d" version = "0.32.0" features = ["serde-serialize", "debug-render", "profiler"]