Cargo Features

[dependencies]
baidu_trans = { version = "0.7.5", default-features = false, features = ["image", "domain", "blocking", "aio", "doc"] }
default = blocking

The blocking feature is set by default whenever baidu_trans is added without default-features = false somewhere in the dependency tree.

image

Enables multipart of reqwest ^0.11.12

Affects baidu_trans::image

domain

Affects baidu_trans::domain

blocking default

Enables blocking of reqwest ^0.11.12

Affects baidu_trans::blocking

aio = tokio

Enables tokio-rustls of reqwest ^0.11.12

Affects baidu_trans::aio

doc

Enables multipart of reqwest ^0.11.12

Affects baidu_trans::document

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio aio?