[package] name = "brids" version = "0.5.1" authors = ["Ricardo Silva Veloso "] license = "MIT OR Apache-2.0" description = """ Parse and generate random CPF and CNPJ, Brazil's ID numbers. """ edition = "2021" rust-version = "1.81" repository = "https://gitlab.com/ricvelozo/brids-rs" documentation = "https://docs.rs/brids" keywords = ["parser", "format", "validation", "cpf", "cnpj"] categories = ["parser-implementations", "value-formatting", "no-std"] readme = "README.md" [package.metadata.docs.rs] all-features = true [badges] gitlab = { repository = "ricvelozo/brids-rs" } [dependencies.rand] version = "0.8.5" optional = true default-features = false features = ["std_rng"] [dependencies.serde] version = "1.0" optional = true default-features = false [dev-dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_test = "1.0" [features] default = ["std"] std = ["rand?/std", "serde?/std"] [[example]] name = "random" required-features = ["std", "rand"] [[example]] name = "seed" required-features = ["rand"] [[example]] name = "serde" required-features = ["std", "serde"]