# 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 = "bilingual" version = "0.1.3" authors = ["zjp "] build = "build.rs" exclude = [ "assets", "examples", "benches", "tests", "CHANGELOG.md", "bilingual.*", ".github", ] description = "A cmdline tool used for markdown translation via calling Chinese translation api cloud services." readme = "README.md" categories = [ "command-line-utilities", "text-processing", ] license = "MIT" repository = "https://github.com/zjp-CN/bilingual" [profile.release] opt-level = 3 lto = true [[bin]] name = "bilingual" required-features = ["bin"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.argh] version = "0.1" optional = true [dependencies.arrayvec] version = "0.7" [dependencies.dirs] version = "4" optional = true [dependencies.log] version = "0.4" [dependencies.pulldown-cmark] version = "0.9" default-features = false [dependencies.pulldown-cmark-to-cmark] version = "10" [dependencies.reqwest] version = "0.11" features = [ "json", "blocking", ] optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.simplelog] version = "0.12" optional = true [dependencies.toml] version = "0.7" optional = true [dependencies.translation-api-cn] version = "0.1.3" optional = true [dev-dependencies.comment] version = "0.1" [dev-dependencies.insta] version = "1.8" [dev-dependencies.tl] version = "0.7" [features] bin = [ "argh", "reqwest", "serde_json", "anyhow", "translation-api-cn", "serde", "toml", "simplelog", "dirs", ] default = ["bin"]