Cargo Features

[dependencies]
yaml-rust2 = { version = "0.9.0", default-features = false, features = ["debug_prints", "encoding"] }
default = encoding

The encoding feature is set by default whenever yaml-rust2 is added without default-features = false somewhere in the dependency tree.

debug_prints
encoding default

Enables encoding_rs

Affects yaml::YAMLDecodingTrapFn, yaml::YAMLDecodingTrap, yaml::YamlDecoder