Cargo Features
[dependencies]
libopenraw = { version = "0.4.0-alpha.9", default-features = false, features = ["probe", "book", "bench", "capi", "dump", "fuzzing", "3gpp", "meta-xml", "missing-pixi-permitted", "mp4v", "unstable-api"] }
- default = bench, capi, dump, probe
-
These default features are set whenever
libopenraw
is added without
somewhere in the dependency tree.default-features = false - probe default
-
Affects
rawfile::RawFileImpl.set_probe
,rawfile::RawFileImpl.probe
…Required by the probe binary
- book = multimap
-
Affects
canon::print_models
…Required by the canon_models binary
- 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
- 3gpp
-
MP4 module (just to make Rust happy)
- meta-xml
-
Affects
parse::MetadataBox.xml
,parse::XmlBox
,parse::MediaContext.metadata
… - missing-pixi-permitted
- mp4v
-
Affects
parse::ES_Descriptor.video_codec
… - unstable-api
-
Affects
parse::unstable
…
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.