# 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" rust-version = "1.80" name = "booru-dl" version = "0.1.0" authors = ["Sean Wang <126865849+WSH032@users.noreply.github.com>"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A command line tool to download images and tags txt from booru" readme = "README.md" keywords = [ "booru", "downloader", "api", ] categories = [ "api-bindings", "asynchronous", "command-line-utilities", "web-programming", ] license = "Apache-2.0" repository = "https://github.com/WSH032/booru-dl/" [package.metadata.docs.rs] all-features = true [profile.release] lto = "thin" codegen-units = 1 [lib] name = "booru_dl" path = "src/lib.rs" [[bin]] name = "booru-dl" path = "src/main.rs" required-features = ["cli"] [dependencies.anyhow] version = "1" [dependencies.base16ct] version = "0.2" features = ["alloc"] [dependencies.clap] version = "4" features = [ "derive", "cargo", ] optional = true [dependencies.dialoguer] version = "0.11" optional = true [dependencies.digest] version = "0.10" [dependencies.indicatif] version = "0.17" [dependencies.md-5] version = "0.10" [dependencies.rayon] version = "1" [dependencies.reqwest] version = "0.12" features = [ "charset", "http2", "macos-system-configuration", "json", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-rayon] version = "2" [dependencies.toml] version = "0.8" optional = true [dependencies.validator] version = "0.18" features = ["derive"] [dev-dependencies.tempfile] version = "3" [features] __toml = ["dep:toml"] cli = [ "dep:clap", "__toml", "dep:dialoguer", ] default = ["default-tls"] default-tls = ["reqwest/default-tls"] native-tls = ["reqwest/native-tls"] native-tls-alpn = ["reqwest/native-tls-alpn"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls-tls = ["reqwest/rustls-tls"] rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"] rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"] rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"] [lints.rust]