Cargo Features
[dependencies]
hdrsample = { version = "6.0.4", default-features = false, features = ["bench_private", "serialization"] }
- bench_private
-
for enabling nightly-only feature(test) on the main crate to allow benchmarking private code
- default = serialization
-
The
serialization
feature is set by default wheneverhdrsample
is added without
somewhere in the dependency tree.default-features = false - serialization default = base64, flate2, nom
-
Affects
hdrsample::serialization
…
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.
- flate2 serialization
-
Enables flate2 ^0.2.17
- nom serialization
-
Enables nom ^3.2.0
- base64 serialization
-
Enables base64 ^0.7.0