Cargo Features
[dependencies]
jpeg2k = { version = "0.9.1", default-features = false, features = ["strict-mode", "file-io", "threads", "image", "openjpeg-sys", "openjp2", "serde"] }
- default = file-io, image, openjpeg-sys, threads
-
These default features are set whenever
jpeg2k
is added without
somewhere in the dependency tree.default-features = false - strict-mode
- file-io default
-
Enable file IO APIs.
- threads default
-
Enables threads of optional openjpeg-sys
openjpeg-sys:
Compile OpenJPEG with thread support.
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.