# 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 = "translation-api-cn" version = "0.1.3" authors = ["zjp "] exclude = [ "assets", "examples", "benches", "tests", "*.log", ] description = "Some useful structs for calling Chinese translation api cloud services. A helper tool for `bilingual` cmdline tool." readme = "README.md" categories = [ "api-bindings", "text-processing", ] license = "MIT" repository = "https://github.com/zjp-CN/bilingual" [dependencies.hmac] version = "0.12" features = ["std"] optional = true [dependencies.md5] version = "0.7" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.thiserror] version = "1" optional = true [dependencies.time] version = "0.3" optional = true [dev-dependencies.anyhow] version = "1" [dev-dependencies.argh] version = "0.1" [dev-dependencies.insta] version = "1.8" [dev-dependencies.reqwest] version = "0.11" features = [ "json", "blocking", ] [dev-dependencies.serde_json] version = "1" [features] baidu = ["md5"] default = [ "baidu", "tencent", "niutrans", ] niutrans = [] tencent = [ "sha2", "hmac", "time", "serde_json", "thiserror", ]