Cargo Features

Qiniu-Upload-Token has no features set by default.

[dependencies]
qiniu-upload-token = { version = "0.2.4", features = ["async", "docs"] }
async = futures

Enables async of qiniu-credential

Affects upload_token::UploadTokenProvider.async_access_key, upload_token::UploadTokenProvider.async_policy, upload_token::UploadTokenProvider.async_to_token_string, upload_token::UploadTokenProviderExt.async_bucket_name

docs

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.

futures async?