Cargo Features

[dependencies]
liboj = { version = "0.3.0-alpha.1", default-features = false, features = ["gxx", "seccomp", "cap-ng"] }
default = gcc, gxx

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

gcc gxx default
seccomp = bindgen

Affects executor::seccomp

cap-ng = bindgen

Affects executor::capng

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 cap-ng? seccomp?

Enables bindgen ^0.51.0