Cargo Features

[dependencies]
aliyun-oss-client = { version = "0.12.9", default-features = false, features = ["core", "blocking", "sts", "put_file", "auth", "decode", "env_test"] }
default = core, put_file, sts

These default features are set whenever aliyun-oss-client is added without default-features = false somewhere in the dependency tree.

core default blocking? put_file sts = async-stream, async-trait, auth, decode, futures, futures-core, oss_derive, reqwest, thiserror

Affects aliyun-oss-client::bucket, aliyun-oss-client::builder, aliyun-oss-client::client, aliyun-oss-client::config, aliyun-oss-client::errors, aliyun-oss-client::file, aliyun-oss-client::object, aliyun-oss-client::client, tests::object, object::base, types::core

blocking = core

Enables blocking of reqwest ^0.11

Affects bucket::BucketsBlocking, builder::RcPointer, client::ClientRc, file::blocking, aliyun-oss-client::blocking, content::blocking, object::ObjectsBlocking

sts default = auth, core

Affects aliyun-oss-client::sts

put_file default = core, infer

Affects file::Files.put_file, file::Files.put_file

auth core sts = percent-encoding, reqwest

Affects aliyun-oss-client::auth

decode core = oss_derive, quick-xml

Affects aliyun-oss-client::decode

env_test

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.

async-stream core
async-trait core
futures core
futures-core core
infer put_file

Enables infer ^0.14

percent-encoding auth?
quick-xml decode?

Enables quick-xml ^0.29

reqwest auth? blocking? core

Enables reqwest ^0.11

thiserror core
oss_derive core decode?