Cargo Features

validator has no features set by default.

[dependencies]
validator = { version = "0.18.1", features = ["card", "unic", "derive", "indexmap"] }
card = card-validate

Affects validation::cards

unic = unic-ucd-common

Affects validation::non_control_character

derive = validator_derive

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.

validator_derive derive?
card-validate card?
unic-ucd-common unic?
indexmap implicit feature

Enables indexmap

indexmap:

A hash table with consistent order and fast iteration