# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "validaten" version = "0.1.0" description = "Common validators for cryptocurrency, creditcards, domain, url, etc that can be used across projects" homepage = "https://github.com/marirs/validaten-rs" readme = "README.md" keywords = ["validate", "crypto", "creditcards", "email", "domain"] categories = ["rust-patterns"] license-file = "LICENSE" repository = "https://github.com/marirs/validaten-rs" [profile.dev] opt-level = 3 [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = false debug-assertions = false [lib] name = "validaten" path = "src/lib.rs" [[example]] name = "crypto" path = "examples/crypto.rs" required-features = ["crypto"] [[example]] name = "hash" path = "examples/hash.rs" required-features = ["hashes"] [[example]] name = "credit-card" path = "examples/credit-card.rs" required-features = ["creditcard"] [dependencies.checkluhn] version = "0.0.1" optional = true [dependencies.idna] version = "0.2" optional = true [dependencies.lazy_static] version = "1" optional = true [dependencies.regex] version = "1" optional = true [features] creditcard = ["lazy_static", "checkluhn", "regex"] crypto = ["lazy_static", "regex"] hashes = ["lazy_static", "regex"] internet = ["idna", "lazy_static", "regex"] networks = ["regex"] validaten-all = ["crypto", "hashes", "creditcard", "networks", "internet"] [badges.travis-ci] repository = "marirs/validators-rs"