Cargo Features

[dependencies]
nphysics_testbed2d = { version = "0.10.0", default-features = false, features = ["dim2", "box2d-backend", "fluids", "parallel", "log"] }
default = dim2

The dim2 feature is set by default whenever nphysics_testbed2d is added without default-features = false somewhere in the dependency tree.

dim2 default

Affects revolute_constraint::RevoluteConstraint, lib::math, objects::polyline, node::GraphicsNode, plane::Plane

box2d-backend = wrapped2d
fluids = salva2d

Affects objects::fluid

parallel

Enables parallel of salva2d ^0.4

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

log implicit feature

Enables log

log:

A lightweight logging facade for Rust

wrapped2d box2d-backend?
salva2d fluids? parallel?

Enables salva2d ^0.4