Cargo Features

[dependencies]
noise-functions = { version = "0.2.1", default-features = false, features = ["std", "libm", "nightly-simd", "nightly-const-fn-float", "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.

nightly-const-fn-float

Makes fbm, ridged, ping_pong and fractal_bounding const fns.

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

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