Cargo Features
ebur128 has no features set by default.
[dependencies]
ebur128 = { version = "0.1.10", features = ["internal-tests", "c-tests", "reference-tests", "capi", "precision-true-peak"] }
- internal-tests c-tests?
-
Affects
ebur128::interp,ebur128::true_peak,ebur128::history,ebur128::filter,ebur128::utils… - c-tests = cc, internal-tests
-
and ebur128-c, quickcheck, quickcheck_macros, rand but dev-dependencies can't be optional...
- reference-tests
- capi
-
Affects
ebur128::capi… - precision-true-peak
-
Enabling this increases the precision of true-peak calculation slightly, but causes a significant performance-hit in the default build-configuration. To avoid the performance-hit, also enable
RUSTFLAGS=-C target-feature=+fma, assuming your platform supports it
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.