Cargo Features

validators-derive has no features set by default.

[dependencies]
validators-derive = { version = "0.25.2", features = ["std", "full", "base64_decoded", "boolean", "byte", "host", "http_ftp_url", "ipv6", "number", "phone", "regex", "text", "rocket", "test"] }
std
full

Enables full of syn

base32 base32_decoded base64 base64_decoded
base64_url base64_url_decoded bit boolean
byte
domain email host

Enables educe ^0.5

http_url http_ftp_url
ip ipv4 ipv6

Enables educe ^0.5

json length line mac_address number
phone

Enables phonenumber

regex

Enables regex

semver semver_req signed_integer text
unsigned_integer url uuid serde rocket
test

validators-derive has 14 features without comments.