Cargo Features

containerd-shim has no features set by default.

[dependencies]
containerd-shim = { version = "0.7.4", features = ["async", "tracing", "docs"] }
async = async-trait, futures, signal-hook-tokio, tokio

Enables async of containerd-shim-protos

Affects containerd-shim::asynchronous, mount::mount_rootfs

tracing

Enables tracing

docs

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.

async-trait async?

Enables async-trait

Async dependencies

futures async?
signal-hook-tokio async?
tokio async?