[package] name = "clitrans" version = "0.3.5" authors = ["Wenxuan Zhang "] description = "Yet another command-line translator" categories = ["command-line-utilities"] homepage = "https://github.com/wfxr/clitrans" keywords = [ "translator", "tool", "cli" ] license = "MIT/Apache-2.0" exclude = ["/completions"] repository = "https://github.com/wfxr/clitrans" edition = "2018" build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["full"] full = ["audio"] audio = ["rodio"] [dependencies] colored = "^2.0" itertools = "^0.10" regex = "^1.4" scraper = "^0.12" url = "^2.2" rodio = { version = "^0.13", optional = true } lazy_static = "^1" serde = { version = "^1.0", features = ["derive"] } serde_json = "^1.0" anyhow = "^1.0.38" cfg-if = "^1.0.0" rustyline = "^8.0.0" [dependencies.structopt] version = "^0.3" default-features = false features = ["wrap_help", "color"] [target.'cfg(not(target_env = "musl"))'.dependencies.isahc] version = "^1.1" default-features = false features = ["text-decoding"] [target.'cfg(target_env = "musl")'.dependencies.isahc] version = "^1.1" default-features = false features = ["text-decoding", "static-ssl"] [build-dependencies] quote = "^1.0.9" serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0", features = ["raw_value"] } xshell = "^0.1.9" [build-dependencies.structopt] version = "^0.3" features = ["wrap_help"] default-features = false [profile.release] lto = true codegen-units = 1