# 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 = "2018" name = "decon-spf" version = "0.2.7" authors = ["Adam.S "] description = """ This is a simple tool that allows you to deconstruct an existing SPF record that might be retreived in a normal DNS TXT lookup. With version 0.2.0 you can now also construct a new Spf record. """ documentation = "https://docs.rs/decon-spf" readme = "README.md" keywords = [ "dns", "spf", ] categories = [ "network-programming", "parser-implementations", ] license = "MIT" repository = "https://github.com/Bas-man/rust-decon-spf" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "decon_spf" path = "src/lib.rs" [[example]] name = "trust-dns-demo" path = "examples/trust-dns-demo.rs" [[example]] name = "build-spf" path = "examples/build-spf.rs" [[example]] name = "build-spf-strict" path = "examples/build-spf-strict.rs" required-features = ["strict-dns"] [[example]] name = "serde-demo" path = "examples/serde-demo.rs" required-features = ["serde"] [dependencies.addr] version = "0.15.0" optional = true [dependencies.ipnetwork] version = "0.20.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.regex] version = "1.10.2" [dependencies.serde] version = "1.0.193" features = ["derive"] optional = true [dev-dependencies.serde_json] version = "1.0.108" [dev-dependencies.trust-dns-resolver] version = "0.23.2" [features] serde = ["dep:serde"] strict-dns = ["addr"] warn-dns = ["addr"]