Files
Notes/notes-service/vendor/validator/Cargo.toml
T
2026-08-01 16:11:49 +03:00

90 lines
1.8 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.81"
name = "validator"
version = "0.20.0"
authors = ["Vincent Prouillet <hello@vincentprouillet.com"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common validation functions (email, url, length, ...) and trait - to be used with `validator_derive`"
homepage = "https://github.com/Keats/validator"
readme = "README.md"
keywords = [
"validation",
"api",
"validator",
]
license = "MIT"
repository = "https://github.com/Keats/validator"
[lib]
name = "validator"
path = "src/lib.rs"
[[test]]
name = "display"
path = "tests/display.rs"
[dependencies.card-validate]
version = "2.3"
optional = true
[dependencies.idna]
version = "1"
[dependencies.indexmap]
version = "2.0.0"
features = ["serde"]
optional = true
[dependencies.once_cell]
version = "1.18.0"
[dependencies.regex]
version = "1"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1"
[dependencies.serde_derive]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.unic-ucd-common]
version = "0.9"
optional = true
[dependencies.url]
version = "2"
[dependencies.validator_derive]
version = "0.20"
optional = true
[features]
card = ["card-validate"]
derive = ["validator_derive"]
derive_nightly_features = [
"derive",
"validator_derive/nightly_features",
]
unic = ["unic-ucd-common"]