Cargo Features

[dependencies]
fisica = { version = "0.2.0", default-features = false, features = ["std", "alloc", "no-std", "safe", "safest", "unsafe", "unsafest", "nightly", "nightly_docs"] }
default = safe, std

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

std default nightly_docs? = alloc

enable features that depend on "std"

alloc std

features that depend on allocation (unused)

Affects fisica::units

no-std

features incompatible with "std" (unused)

safe default safest?

forbid unsafe at the crate level

safest = safe

forbid unsafe recursively (unused)

unsafe nightly_docs? unsafest?

enable unsafe at the crate level (unused)

unsafest = unsafe

enable unsafe recursively (unused)

nightly nightly_docs?

used only for better docs

nightly_docs = nightly, std, unsafe