Cargo Features

[dependencies]
codespan = { version = "0.12.0", default-features = false, features = ["std", "termcolor", "serialization"] }
default = std, termcolor

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

std default termcolor

Enables std of codespan-reporting and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

termcolor default = std

Enables termcolor of codespan-reporting

serialization = serde

Enables serialization of codespan-reporting

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.

serde serialization?