# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rapier2d" version = "0.22.0" authors = ["Sébastien Crozet "] description = "2-dimensional physics engine in Rust." homepage = "https://rapier.rs" documentation = "https://docs.rs/rapier2d" readme = "README.md" keywords = [ "physics", "dynamics", "rigid", "real-time", "impulse_joints", ] categories = [ "science", "game-development", "mathematics", "simulation", "wasm", ] license = "Apache-2.0" repository = "https://github.com/dimforge/rapier" [package.metadata.docs.rs] features = [ "parallel", "simd-stable", "serde-serialize", "debug-render", ] [lib] name = "rapier2d" path = "src/lib.rs" required-features = [ "dim2", "f32", ] [dependencies.approx] version = "0.5" [dependencies.arrayvec] version = "0.7" [dependencies.bit-vec] version = "0.7" [dependencies.bitflags] version = "2" [dependencies.crossbeam] version = "0.8" [dependencies.downcast-rs] version = "1.2" [dependencies.instant] version = "0.1" features = ["now"] optional = true [dependencies.log] version = "0.4" [dependencies.nalgebra] version = "0.33" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.ordered-float] version = "4" [dependencies.parry2d] version = "0.17.0" [dependencies.rayon] version = "1" optional = true [dependencies.rustc-hash] version = "2" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.simba] version = "0.9" [dependencies.thiserror] version = "1" [dependencies.vec_map] version = "0.8" optional = true [dev-dependencies.bincode] version = "1" [dev-dependencies.oorandom] version = "11" default-features = false [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1" [features] debug-disable-legitimate-fe-exceptions = [] debug-render = [] default = [ "dim2", "f32", ] dev-remove-slow-accessors = [] dim2 = [] enhanced-determinism = [ "simba/libm_force", "parry2d/enhanced-determinism", ] f32 = [] parallel = ["dep:rayon"] profiler = ["dep:instant"] serde-serialize = [ "nalgebra/serde-serialize", "parry2d/serde-serialize", "dep:serde", "bit-vec/serde", "arrayvec/serde", ] simd-is-enabled = ["dep:vec_map"] simd-nightly = [ "simba/portable_simd", "simd-is-enabled", ] simd-stable = [ "simba/wide", "simd-is-enabled", ] wasm-bindgen = ["instant/wasm-bindgen"] [badges.maintenance] status = "actively-developed"