validators 0.25.3

This library is designed for validating and modeling user input. The crate includes models, functions, traits, errors, and other dependencies.
Documentation

validators

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 49 feature flags, 44 of them enabled by default.

default

  • std
  • all-validators
  • derive

std

  • validators-derive?/std
  • data-encoding?/std
  • idna?/std
  • byte-unit?/std
  • serde_json?/std
  • semver-dep?/std
  • serde?/std

all-validators

  • base32
  • base32_decoded
  • base64
  • base64_decoded
  • base64_url
  • base64_url_decoded
  • bit
  • boolean
  • byte
  • domain
  • email
  • host
  • http_url
  • http_ftp_url
  • ip
  • ipv4
  • ipv6
  • json
  • length
  • line
  • mac_address
  • number
  • phone
  • regex
  • semver
  • semver_req
  • signed_integer
  • text
  • unsigned_integer
  • url
  • uuid

derive

  • dep:validators-derive

base32

  • validators-derive?/base32

base32_decoded

  • validators-derive?/base32_decoded
  • data-encoding

base64

  • validators-derive?/base64

base64_decoded

  • validators-derive?/base64_decoded
  • data-encoding

base64_url

  • validators-derive?/base64_url

base64_url_decoded

  • validators-derive?/base64_url_decoded
  • data-encoding

bit

  • validators-derive?/bit
  • byte-unit/bit

boolean

  • validators-derive?/boolean

byte

  • validators-derive?/byte
  • byte-unit/byte

domain

  • validators-derive?/domain
  • std
  • idna

email

  • validators-derive?/email
  • std
  • idna

host

  • validators-derive?/host
  • std
  • idna

http_url

  • validators-derive?/http_url
  • url
  • str-utils

http_ftp_url

  • validators-derive?/http_ftp_url
  • url
  • str-utils

ip

  • validators-derive?/ip
  • std

ipv4

  • validators-derive?/ipv4
  • std

ipv6

  • validators-derive?/ipv6
  • std

json

  • validators-derive?/json
  • serde_json

length

  • validators-derive?/length

line

  • validators-derive?/line

mac_address

  • validators-derive?/mac_address

number

  • validators-derive?/number

phone

  • validators-derive?/phone
  • phonenumber

regex

  • validators-derive?/regex
  • regex-dep

semver

  • validators-derive?/semver
  • semver-dep

semver_req

  • validators-derive?/semver_req
  • semver-dep

signed_integer

  • validators-derive?/signed_integer

text

  • validators-derive?/text

unsigned_integer

  • validators-derive?/unsigned_integer

url

  • validators-derive?/url
  • url-dep

uuid

  • validators-derive?/uuid

data-encoding

  • dep:data-encoding

idna

  • dep:idna

str-utils

  • dep:str-utils

serde_json

  • dep:serde_json
  • serde

phonenumber

  • dep:phonenumber
  • std

regex-dep

  • dep:regex-dep
  • std

semver-dep

  • dep:semver-dep

url-dep

  • dep:url-dep
  • std

serde

  • validators-derive?/serde
  • dep:serde
  • byte-unit?/serde
  • url-dep?/serde
  • semver-dep?/serde

rocket

  • validators-derive?/rocket
  • dep:rocket
  • std
  • byte-unit?/rocket

byte-unit-u128

  • byte-unit?/u128

test

  • validators-derive?/test

byte-unit

  • dep:byte-unit

full

  • validators-derive?/full