Cargo Features

[dependencies]
turbojpeg-sys = { version = "1.0.1", default-features = false, features = ["require-simd", "bindgen", "cmake", "pkg-config"] }
default = cmake, pkg-config, require-simd

These default features are set whenever turbojpeg-sys is added without default-features = false somewhere in the dependency tree.

require-simd default

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.

bindgen build implicit feature

Enables bindgen ^0.57

bindgen:

Automatically generates Rust FFI bindings to C and C++ libraries

cmake build default
pkg-config build default