Cargo Features

[dependencies]
libcontainer = { version = "0.4.1", default-features = false, features = ["libseccomp", "systemd", "v2", "v1", "cgroupsv2_devices"] }
default = libseccomp, systemd, v1, v2

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

libseccomp default

Enables libseccomp

Affects libcontainer::seccomp

systemd default = v2

Enables systemd of libcgroups

MARK: Version

v2 default systemd

Enables v2 of libcgroups

v1 default

Enables v1 of libcgroups

cgroupsv2_devices

Enables cgroupsv2_devices of libcgroups