# 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" name = "valitron" version = "0.5.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Valitron is an ergonomics, functional and configurable validator" readme = "README.md" keywords = [ "validator", "serde", "ergonomics", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tu6ge/valitron" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] features = ["full"] [lib] name = "valitron" path = "src/lib.rs" [[example]] name = "actix" path = "examples/actix.rs" required-features = ["full"] [[example]] name = "axum" path = "examples/axum.rs" required-features = ["full"] [[example]] name = "enum_msg" path = "examples/enum_msg.rs" [[example]] name = "enum_msg_full" path = "examples/enum_msg_full.rs" required-features = ["full"] [[example]] name = "rocket" path = "examples/rocket.rs" required-features = ["full"] [[example]] name = "string" path = "examples/string.rs" [[example]] name = "string_custom" path = "examples/string_custom.rs" [[example]] name = "url" path = "examples/url.rs" [[test]] name = "integration_test" path = "tests/integration_test.rs" [[bench]] name = "email" path = "benches/email.rs" harness = false required-features = ["full"] [[bench]] name = "full" path = "benches/full.rs" harness = false [dependencies.idna] version = "0.5" optional = true [dependencies.regex] version = "1" optional = true default-features = false [dependencies.serde] version = "^1.0" [dev-dependencies.actix-web] version = "4.4.0" [dev-dependencies.axum] version = "0.6.20" features = [ "tokio", "form", ] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.diesel] version = "2.1.6" features = ["postgres"] [dev-dependencies.rocket] version = "=0.5.0-rc.3" [dev-dependencies.serde] version = "^1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.107" [dev-dependencies.thiserror] version = "1.0.29" [dev-dependencies.tokio] version = "1.32.0" features = ["full"] [dev-dependencies.url] version = "2.5.0" [dev-dependencies.validator] version = "0.18" features = ["derive"] [features] full = [ "serde/derive", "idna", "regex", ]