[dependencies.anyhow]
version = "1.0.66"
[dependencies.base64]
optional = true
version = "0.13.1"
[dependencies.chrono]
version = "0.4.22"
[dependencies.md-5]
optional = true
version = "0.10.5"
[dependencies.reqwest]
features = ["json"]
version = "0.11.12"
[dependencies.serde]
features = ["derive"]
version = "1.0.147"
[dependencies.serde_json]
version = "1.0.87"
[dependencies.sha256]
version = "1.1.1"
[dependencies.tokio]
features = ["rt", "rt-multi-thread", "macros", "fs"]
optional = true
version = "1"
[dev-dependencies.dotenv]
version = "0.15.0"
[features]
aio = ["tokio", "reqwest/tokio-rustls"]
blocking = ["reqwest/blocking"]
default = ["blocking", "image"]
image = ["md-5", "base64"]
[package]
authors = ["FengYouJun"]
description = "有道API"
edition = "2021"
keywords = ["youdao", "translate"]
license = "MIT"
name = "youdao"
readme = "Readme.md"
version = "0.3.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.release]
codegen-units = 16
debug = false
incremental = true
opt-level = "s"
panic = "abort"
strip = true