Cargo Features
[dependencies]
rust-s3 = { version = "0.36.0-beta.2", default-features = false, features = ["sync", "with-async-std-hyper", "with-async-std", "with-tokio", "blocking", "fail-on-err", "tags", "http-credentials", "tokio-native-tls", "tokio-rustls-tls", "async-std-native-tls", "async-std-rustls-tls", "sync-native-tls", "sync-native-tls-vendored", "sync-rustls-tls"] }
- default = fail-on-err, tags, tokio-native-tls
-
These default features are set whenever
rust-s3
is added without
somewhere in the dependency tree.default-features = false - 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
… - with-async-std-hyper = with-async-std
-
Enables hyper-client of surf
- with-async-std async-std-native-tls? async-std-rustls-tls? with-async-std-hyper? = async-std, futures
-
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
… - with-tokio tokio-native-tls tokio-rustls-tls? = futures, reqwest, tokio, tokio-stream
-
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
… - blocking = block_on_proc
-
Enables rt and rt-multi-thread of tokio
- fail-on-err default
- http-credentials
-
Enables http-credentials of aws-creds
- tokio-native-tls default = with-tokio
-
Enables native-tls of aws-creds and reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- tokio-rustls-tls = with-tokio
-
Enables rustls-tls of aws-creds and reqwest
- async-std-native-tls = with-async-std
-
Enables native-tls of aws-creds, h1-client of surf
- async-std-rustls-tls = with-async-std
-
Enables rustls-tls of aws-creds, h1-client-rustls of surf
- 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
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?
- block_on_proc blocking?
- futures with-async-std? with-tokio?
- minidom tags
- reqwest tokio-native-tls tokio-rustls-tls? with-tokio?
- surf async-std-native-tls? async-std-rustls-tls? with-async-std-hyper?
- tokio blocking? with-tokio?
- tokio-stream with-tokio?