nphysics2d 0.19.0

2-dimensional physics engine in Rust.
Documentation
[package]
name    = "nphysics2d"
version = "0.19.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2-dimensional physics engine in Rust."
documentation = "http://nphysics.org/rustdoc/nphysics2d/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"

[features]
default = [ "dim2", "stdweb" , "instant/stdweb"]
use-wasm-bindgen = [ "dim2", "wasm-bindgen", "web-sys" , "instant/wasm-bindgen" ]
dim2    = [ ]
# Improve numerical stability when working with fixed-point numbers
# so we don't need a too large number of decimals.
improved_fixed_point_support = [ "ncollide2d/improved_fixed_point_support" ]

[lib]
name = "nphysics2d"
path = "src/lib.rs"
required-features = [ "dim2" ]

[dependencies]
either     = "1"
num-traits = "0.2"
slotmap    = "0.4" # For impulse cache.
generational-arena = "0.2" # For default body/collide/constraint/force sets.
smallvec   = "1"
lazy_static = "1"
simba      = "0.3"
nalgebra   = { version = "0.24", features = [ "sparse" ] }
approx     = "0.4"
downcast-rs = "1"
bitflags   = "1"
ncollide2d = "0.27"
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", 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']}