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
somewhere in the dependency tree.default-features = false - 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