Cargo Features

[dependencies]
serde_valid = { version = "0.25.1", default-features = false, features = ["toml", "yaml", "i128", "fluent"] }
default = i128

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

toml = serde_toml

Affects features::toml

yaml = serde_yaml

Affects features::yaml

i128 default

Enables std of indexmap and i128 of num-traits and serde_valid_literal

num-traits:

vestigial features, now always in effect

fluent

Enables fluent, fluent of serde_valid_derive

Affects features::fluent

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_toml toml?

Enables toml

serde_yaml yaml?