# 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 = "dynasty" version = "1.4.1" authors = ["Aynh "] description = "Dynasty Reader's CLI downloader" readme = "README.md" keywords = [ "manga", "cli", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Aynh/dynasty" resolver = "2" [profile.release] lto = true strip = true [[bin]] name = "dynasty-cli" path = "src/bin/cli/main.rs" [dependencies.anyhow] version = "1.0.65" [dependencies.clap] version = "4.0.8" features = [ "cargo", "derive", "wrap_help", ] [dependencies.console] version = "0.15.1" [dependencies.dialoguer] version = "0.10.2" optional = true default-features = false [dependencies.directories] version = "4.0.1" [dependencies.dynasty-api] version = "1.1.0" default-features = false [dependencies.image] version = "0.24.4" features = [ "jpeg", "png", "webp", ] optional = true [dependencies.indicatif] version = "0.17.1" [dependencies.lazy-regex] version = "2.3.0" [dependencies.once_cell] version = "1.15.0" [dependencies.printpdf] version = "0.5.3" features = [ "webp", "jpeg_rayon", ] optional = true [dependencies.reqwest] version = "0.11.12" features = ["socks"] [dependencies.serde] version = "1.0.145" [dependencies.serde_json] version = "1.0.85" [dependencies.tar] version = "0.4.38" optional = true [dependencies.terminal_size] version = "0.2.1" optional = true [dependencies.tokio] version = "1.21.1" features = [ "rt-multi-thread", "fs", "macros", ] [dependencies.tryhard] version = "0.5.0" [dependencies.zip] version = "0.6.2" optional = true default-features = false [features] archive-all = [ "archive-zip", "archive-pdf", ] archive-pdf = [ "archiver", "dep:printpdf", "dep:image", ] archive-tar = [ "archiver", "dep:tar", ] archive-zip = [ "archiver", "dep:zip", ] archiver = [] default = [ "archive-all", "search", ] search = [ "dep:dialoguer", "dep:terminal_size", "dynasty-api/search", ]