Cargo Features

[dependencies]
openjpeg-sys = { version = "1.0.11", default-features = false, features = ["threads", "parallel"] }
default = threads

The threads feature is set by default whenever openjpeg-sys is added without default-features = false somewhere in the dependency tree.

threads default

Compile OpenJPEG with thread support.

parallel build

Enables parallel of cc