# 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.69" name = "validators-derive" version = "0.25.2" authors = ["Magic Len "] include = [ "src/**/*", "Cargo.toml", "README.md", "LICENSE", ] description = "The provided crate offers a procedural macro for defining validators, including optional parameters." homepage = "https://magiclen.org/validators" readme = "README.md" keywords = [ "validator", "validation", "user", "serde", "rocket", ] categories = [ "no-std", "parser-implementations", "value-formatting", "rust-patterns", ] license = "MIT" repository = "https://github.com/magiclen/validators" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] proc-macro = true [dependencies.educe] version = "0.5" features = ["Debug"] optional = true default-features = false [dependencies.enum-ordinalize] version = "4.2" features = ["derive"] default-features = false [dependencies.phonenumber] version = "0.3" optional = true [dependencies.proc-macro2] version = "1" [dependencies.quote] version = "1" [dependencies.regex] version = "1" optional = true [dependencies.syn] version = "2" [features] base32 = [] base32_decoded = [] base64 = [] base64_decoded = [] base64_url = [] base64_url_decoded = [] bit = [] boolean = [] byte = [] domain = ["dep:educe"] email = ["dep:educe"] full = ["syn/full"] host = ["dep:educe"] http_ftp_url = [] http_url = [] ip = ["dep:educe"] ipv4 = ["dep:educe"] ipv6 = ["dep:educe"] json = [] length = [] line = [] mac_address = [] number = [] phone = ["dep:phonenumber"] regex = ["dep:regex"] rocket = [] semver = [] semver_req = [] serde = [] signed_integer = [] std = [] test = [] text = [] unsigned_integer = [] url = [] uuid = []