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 whenevernoise-functions
is added without
somewhere in the dependency tree.default-features = false - std default
-
Uses floating point functions from the standard library.
- libm
-
Uses
libm
for floating point functions. Required forno_std
.Enables libm
- nightly-simd
-
Adds support for sampling with simd types.
- nightly-const-fn-float
-
Makes
fbm
,ridged
,ping_pong
andfractal_bounding
const fn
s.
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml