# 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 = "tld_download" version = "0.1.3" authors = ["Marirs "] include = [ "src", "assets", ] description = "Download public & private gTLD & ccTLD" homepage = "https://github.com/marirs/tld-download-rs" readme = "README.md" keywords = [ "tld", "suffixes", ] license-file = "LICENSE" repository = "https://github.com/marirs/tld-download-rs" [package.metadata.docs.rs] all-features = true [profile.dev] opt-level = 3 [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 debug-assertions = false [lib] name = "tld_download" path = "src/lib.rs" [[example]] name = "tld_download" path = "examples/main.rs" [[example]] name = "tld_download_with_local_db" path = "examples/main_with_db.rs" required-features = ["with-db"] [dependencies.futures] version = "0.3.19" [dependencies.idna] version = "0.5.0" [dependencies.regex] version = "1.5.4" [dependencies.reqwest] version = "0.12" features = [ "native-tls-vendored", "brotli", "gzip", ] [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1" features = ["rt"] [dev-dependencies.clap] version = "3.0.13" features = [ "cargo", "derive", ] [features] with-db = []