[package] name = "yumo-utils" version = "0.1.2" edition = "2021" description = "utils for yumo api. easy to use data" license = "MIT" [[bin]] name = "yumo-utils" path = "src/main.rs" required-features = ["cli"] [dependencies] anyhow = { version = "1" } log = { version = "0.4" } env_logger = { version = "0.11",optional = true } clap = { version = "4", features = ["derive"],optional = true } cfg-if = { version = "1.0.0" } reqwest = { version = "0.12", features = [ "json", "rustls-tls", "blocking", "stream", ], default-features = false } dirs = "5.0.1" indicatif = "0.17.8" toml = { version = "0.8" } serde = { version = "1.0", features = ["derive"] } colored = {version="2.1.0",optional = true} chrono = { version = "0.4.38", optional = true } [features] default = ["cli"] cli=["clap","env_logger","colored","chrono"] chrono = ["dep:chrono"]