Cargo Features

[dependencies]
tomling = { version = "0.1.0", default-features = false, features = ["std", "cargo-toml", "simd"] }
default = cargo-toml, serde, simd, std

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

std default

Enables std of optional serde and winnow

serde:

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

cargo-toml default = serde

Affects tomling::cargo

simd default

Enables simd of winnow

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 default cargo-toml

Affects error::DeserializeError