Cargo Features

[dependencies]
heron = { version = "5.0.2", default-features = false, features = ["collision-from-mesh", "2d", "3d", "debug-2d", "debug-3d", "enhanced-determinism"] }
default = collision-from-mesh

The collision-from-mesh feature is set by default whenever heron is added without default-features = false somewhere in the dependency tree.

collision-from-mesh default

Enables collision-from-mesh of heron_core

2d debug-2d?

Enables 2d of heron_rapier

3d debug-3d?

Enables 3d of heron_core and heron_rapier

debug-2d = 2d

Enables 2d of heron_debug

debug-3d = 3d

Enables 3d of heron_debug

enhanced-determinism

Enables enhanced-determinism of heron_rapier

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.

heron_debug debug-2d? debug-3d?