Cargo Features

[dependencies]
noise-functions = { version = "0.3.0", default-features = false, features = ["std", "libm", "nightly-simd", "document-features"] }
default = std

The std feature is set by default whenever noise-functions is added without default-features = false somewhere in the dependency tree.

std default

Uses floating point functions from the standard library.

libm

Uses libm for floating point functions. Required for no_std.

Enables libm

nightly-simd

Adds support for sampling with simd types.

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml