Cargo Features

[dependencies]
cargo-cook = { version = "1.0.0", default-features = false, features = ["compression", "deploy", "ssh"] }
default = compression, deploy, ssh

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

compression default = bzip2
deploy default = ssh

Affects config::Deploy, config::Cook.deploy

ssh default deploy = ssh2

Affects config::SshConfig, config::Deploy.ssh

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.

bzip2 compression

Enables bzip2 ^0.3

ssh2 ssh

Enables ssh2 ^0.8