Cargo Features

[dependencies]
unidiff = { version = "0.3.3", default-features = false, features = ["encoding", "unstable"] }
default = encoding

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

encoding default = encoding_rs
unstable

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.

encoding_rs encoding