[package]
name = "nphysics3d"
version = "0.24.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional physics engine in Rust. This crate is being superseded by the rapier3d crate."
documentation = "http://nphysics.org/rustdoc/nphysics3d/index.html"
homepage = "http://nphysics.org"
repository = "https://github.com/rustsim/nphysics"
readme = "README.md"
keywords = [ "physics", "dynamics", "rigid", "real-time", "joints" ]
license = "Apache-2.0"
edition = "2018"
[badges]
maintenance = { status = "passively-maintained" }
[features]
default = [ "dim3", "stdweb" , "instant/stdweb"]
use-wasm-bindgen = [ "dim3", "wasm-bindgen", "web-sys", "instant/wasm-bindgen"]
dim3 = [ ]
improved_fixed_point_support = [ "ncollide3d/improved_fixed_point_support" ]
[lib]
name = "nphysics3d"
path = "src/lib.rs"
required-features = [ "dim3" ]
[dependencies]
either = "1"
num-traits = "0.2"
slotmap = "1"
generational-arena = "0.2"
smallvec = "1"
lazy_static = "1"
simba = "0.6"
nalgebra = { version = "0.29", features = [ "sparse" ] }
approx = "0.5"
downcast-rs = "1"
bitflags = "1"
ncollide3d = "0.32"
instant = { version = "0.1", features = [ "now" ]}
[target.wasm32-unknown-unknown.dependencies]
stdweb = {version = "0.4", optional = true}
wasm-bindgen = {version = "0.2", optional = true}
web-sys = {version = "0.3", optional = true, features = ['Window', 'Performance', 'PerformanceTiming']}
[target.wasm32-unknown-emscripten.dependencies]
stdweb = {version = "0.4", optional = true}
wasm-bindgen = {version = "0.2", optional = true}
web-sys = {version = "0.3.27", optional = true, features = ['Window', 'Performance', 'PerformanceTiming']}
[target.asmjs-unknown-emscripten.dependencies]
stdweb = {version = "0.4", optional = true}
wasm-bindgen = {version = "0.2", optional = true}
web-sys = {version = "0.3", optional = true, features = ['Window', 'Performance', 'PerformanceTiming']}