Cargo Features

[dependencies]
rerecast = { version = "0.2.0", default-features = false, features = ["default_no_std", "nostd-libm", "libm", "std", "tracing", "serialize", "bevy_reflect"] }
default = std, tracing

These default features are set whenever rerecast is added without default-features = false somewhere in the dependency tree.

default_no_std = libm

Recommended defaults for no_std applications

nostd-libm

Use std if available, but fall back to libm if not

Enables libm, nostd-libm of glam

libm default_no_std?

use libm for no_std support and cross-platform determinism

Enables libm, libm of glam

std default

use std

Enables std of anyhow, optional bevy_reflect, bitflags, glam, slotmap, thiserror, and optional tracing

tracing default

Note: tracing works on all no_std platforms that support atomics

Enables tracing

serialize

Enables serde, serde of slotmap, serde of bitflags and glam

bevy_reflect

Enables bevy_reflect