validators 0.24.2

This is a library for validating and modeling user input and this crate provides models, function, 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 47 feature flags, 43 of them enabled by default.

default

  • full
  • derive

full

  • base32
  • base32_decoded
  • base64
  • base64_decoded
  • base64_url
  • base64_url_decoded
  • boolean
  • 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

  • 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

boolean

  • validators-derive/boolean

domain

  • validators-derive/domain
  • std
  • idna

email

  • validators-derive/email
  • std
  • idna

host

  • validators-derive/host
  • std
  • idna

http_url

  • validators-derive/http_url
  • std
  • url-dep
  • str-utils

http_ftp_url

  • validators-derive/http_ftp_url
  • std
  • url-dep
  • 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
  • std
  • phonenumber
  • thiserror

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
  • std
  • url-dep

uuid

  • validators-derive/uuid

validators-derive

    This feature flag does not enable additional features.

data-encoding

    This feature flag does not enable additional features.

std

  • validators-derive/std

idna

    This feature flag does not enable additional features.

url-dep

    This feature flag does not enable additional features.

str-utils

    This feature flag does not enable additional features.

serde_json

    This feature flag does not enable additional features.

phonenumber

    This feature flag does not enable additional features.

thiserror

    This feature flag does not enable additional features.

regex-dep

    This feature flag does not enable additional features.

semver-dep

    This feature flag does not enable additional features.

serde

  • validators-derive/serde
  • serde-dep
  • semver-dep/serde
  • url-dep/serde

rocket

  • validators-derive/rocket
  • std
  • rocket-dep

serde-dep

    This feature flag does not enable additional features.

rocket-dep

    This feature flag does not enable additional features.