[package] name = "dynasty" version = "1.4.1" edition = "2021" description = "Dynasty Reader's CLI downloader" repository = "https://github.com/Aynh/dynasty" keywords = ["manga", "cli"] authors = ["Aynh "] license = "MIT OR Apache-2.0" [profile.release] strip = true # Automatically strip symbols from the binary. lto = true # Enable Link Time Optimization (LTO) [[bin]] name = "dynasty-cli" path = "src/bin/cli/main.rs" [features] archiver = [] archive-pdf = ["archiver", "dep:printpdf", "dep:image"] archive-tar = ["archiver", "dep:tar"] archive-zip = ["archiver", "dep:zip"] archive-all = ["archive-zip", "archive-pdf"] search = ["dep:dialoguer", "dep:terminal_size", "dynasty-api/search"] default = ["archive-all", "search"] [workspace] members = ["crates/dynasty-api"] [dependencies] anyhow = "1.0.65" console = "0.15.1" directories = "4.0.1" indicatif = "0.17.1" lazy-regex = "2.3.0" once_cell = "1.15.0" serde = "1.0.145" serde_json = "1.0.85" terminal_size = { version = "0.2.1", optional = true } tryhard = "0.5.0" [dependencies.clap] version = "4.0.8" features = ["cargo", "derive", "wrap_help"] [dependencies.dialoguer] version = "0.10.2" default-features = false optional = true [dependencies.dynasty-api] version = "1.1.0" path = "crates/dynasty-api" default-features = false [dependencies.image] version = "0.24.4" features = ["jpeg", "png", "webp"] optional = true [dependencies.printpdf] version = "0.5.3" features = ["webp", "jpeg_rayon"] optional = true [dependencies.reqwest] version = "0.11.12" features = ["socks"] [dependencies.tar] version = "0.4.38" optional = true [dependencies.tokio] version = "1.21.1" features = ["rt-multi-thread", "fs", "macros"] [dependencies.zip] version = "0.6.2" default-features = false optional = true