# 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 = "garde-fr" version = "0.18.1" description = "Validation library" readme = "README.md" keywords = [ "validation", "validate", "valid", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Florence-Telecom/garde-fr" [dependencies.card-validate] version = "2.3" optional = true [dependencies.compact_str] version = "0.7.1" default-features = false [dependencies.garde_derive] version = "0.18.0" optional = true default-features = false [dependencies.idna] version = "0.3" optional = true [dependencies.once_cell] version = "1" optional = true [dependencies.phonenumber] version = "0.3.2+8.13.9" optional = true [dependencies.regex] version = "1" features = ["std"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1.11.0" default-features = false [dependencies.unicode-segmentation] version = "1.10.1" optional = true [dependencies.url] version = "2" optional = true [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.insta] version = "1.29" [dev-dependencies.owo-colors] version = "3.5.0" [dev-dependencies.serde_json] version = "1.0.112" features = ["preserve_order"] [dev-dependencies.trybuild] version = "1.0" [features] credit-card = ["dep:card-validate"] derive = ["dep:garde_derive"] email = ["regex"] email-idna = ["dep:idna"] full = [ "derive", "serde", "url", "credit-card", "phone-number", "email", "email-idna", "regex", "unicode", ] js-sys = ["dep:js-sys"] pattern = ["regex"] phone-number = ["dep:phonenumber"] regex = [ "dep:regex", "dep:once_cell", "garde_derive?/regex", ] serde = [ "dep:serde", "compact_str/serde", "smallvec/serde", ] unicode = ["dep:unicode-segmentation"] url = ["dep:url"] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] version = "0.3" optional = true [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] version = "0.3.38"