Cargo Features
[dependencies]
libopenraw = { version = "0.4.0-alpha.5", default-features = false, features = ["bench", "capi", "dump", "fuzzing"] }
- default = bench, capi, dump
-
These default features are set whenever
libopenraw
is added without
somewhere in the dependency tree.default-features = false - bench default
- capi default = libc
-
Build the C API.
- dump default
-
Build the dumper
Affects
dump::DumpFile.dump_file
,dump::Dump.write_dump
,dump::Dump.write_dump_with_args
,dump::dump_indent
…Required by the ordump binary
- fuzzing = afl
-
Build fuzzing support
Required by fuzz-ljpeg, fuzz-olymdecompress, fuzz-rawfile and test-ljpeg binaries
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.
- afl fuzzing?
-
Enables afl ^0.12.4
- libc capi