Cargo Features

[dependencies]
rust-s3 = { version = "0.35.0-alpha.3", default-features = false, features = ["use-tokio-native-tls", "with-tokio", "async-std-native-tls", "http-credentials", "with-async-std", "sync", "no-verify-ssl", "fail-on-err", "tokio-rustls-tls", "sync-native-tls", "sync-native-tls-vendored", "sync-rustls-tls", "blocking", "tags"] }
default = fail-on-err, tags, use-tokio-native-tls

These default features are set whenever rust-s3 is added without default-features = false somewhere in the dependency tree.

use-tokio-native-tls default = hyper-tls, native-tls, tokio-native-tls, with-tokio

Enables native-tls of aws-creds

Affects tokio_backend::client

with-tokio tokio-rustls-tls? use-tokio-native-tls = futures, hyper, tokio, tokio-stream

Enables fs of tokio

Affects request::tokio_backend, request_trait::Request.response_data_to_writer, request_trait::DataStream, request_trait::StreamItem, request_trait::ResponseDataStream, request_trait::Request.response_data_to_stream, utils::read_chunk_async

async-std-native-tls = with-async-std

Enables native-tls of aws-creds

http-credentials

Enables http-credentials of aws-creds

with-async-std async-std-native-tls? = async-std, futures, futures-io, futures-util, surf

Affects request::async_std_backend, request_trait::Request.response_data_to_writer, request_trait::DataStream, request_trait::StreamItem, request_trait::ResponseDataStream, request_trait::Request.response_data_to_stream, utils::read_chunk_async

sync sync-native-tls? sync-native-tls-vendored? sync-rustls-tls? = attohttpc

Enables is_sync of maybe-async

Affects request::blocking, request_trait::Request.response_data_to_writer

no-verify-ssl

Affects tokio_backend::NoCertificateVerification

fail-on-err default
tokio-rustls-tls = hyper-rustls, rustls, rustls-native-certs, tokio-rustls, with-tokio

Enables rustls-tls of aws-creds

Affects tokio_backend::client, tokio_backend::NoCertificateVerification

sync-native-tls = sync

Enables native-tls of aws-creds and tls of attohttpc

attohttpc:

These features are provided for backwards compatibility

sync-native-tls-vendored = sync

Enables tls-vendored of attohttpc, native-tls-vendored of aws-creds

sync-rustls-tls = sync

Enables tls-rustls of attohttpc, rustls-tls of aws-creds

blocking = block_on_proc

Enables rt and rt-multi-thread of tokio

tags default = minidom

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-std with-async-std?
attohttpc sync? sync-native-tls? sync-native-tls-vendored? sync-rustls-tls?
futures with-async-std? with-tokio?
futures-io with-async-std?
futures-util with-async-std?
hyper with-tokio?

Enables hyper ^0.14

hyper-tls use-tokio-native-tls

Enables hyper-tls ^0.5.0

hyper-rustls tokio-rustls-tls?

Enables hyper-rustls ^0.24

rustls tokio-rustls-tls?

Enables rustls ^0.21

tokio-rustls tokio-rustls-tls?

Enables tokio-rustls ^0.24.1

rustls-native-certs tokio-rustls-tls?

Enables rustls-native-certs ^0.6.3

surf with-async-std?
tokio blocking? with-tokio?
tokio-native-tls use-tokio-native-tls
native-tls use-tokio-native-tls
tokio-stream with-tokio?
minidom tags

Enables minidom ^0.15

block_on_proc blocking?