Cargo Features

playbook has no features set by default.

[dependencies]
playbook = { version = "0.4.2", features = ["lang_python", "ci_only", "agent", "as_switch", "sandbox", "sys_hotwings"] }
lang_python sys_hotwings? = pyo3

Python language support

Enables topyobject of ymlctx

Affects python::invoke, hotwings::k8s_provisioner

ci_only

Continuous Integration / Testing dummy feature because of https://github.com/rust-lang/rust/issues/45599

agent

agent mode
enables the --arg-resume command argument

as_switch sys_hotwings? = handlebars

emit API calls suitable for other infrastructures
enables the --as command argument
using a templating system "handlebars"

sandbox

disable host tasks, etc. See https://github.com/aleozlx/playbook-rs/issues/19

sys_hotwings = as_switch, lang_python

Hotwings system: depends on k8s API Python client

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.

pyo3 lang_python?

Enables pyo3 ^0.5

handlebars as_switch?

Enables handlebars ^1.1.0