Cargo Features
[dependencies]
mcs3 = { version = "0.1.2", default-features = false, features = ["with-tokio", "async-std-native-tls", "with-async-std", "sync", "no-verify-ssl", "fail-on-err", "tokio-native-tls", "tokio-rustls-tls", "sync-native-tls", "sync-native-tls-vendored", "sync-rustls-tls", "blocking", "tags"] }
- default = fail-on-err, tags, tokio-native-tls
-
These default features are set whenever
mcs3
is added without
somewhere in the dependency tree.default-features = false - 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::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 ^0.34.1
- 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::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
- fail-on-err default
- tokio-native-tls default = with-tokio
-
Enables native-tls of aws-creds ^0.34.1 and reqwest ^0.11
reqwest:
Enables native-tls specific functionality not available by default.
- tokio-rustls-tls = with-tokio
-
Enables rustls-tls of aws-creds ^0.34.1 and reqwest ^0.11
- sync-native-tls = sync
-
Enables native-tls of aws-creds ^0.34.1 and tls of attohttpc ^0.22
attohttpc:
These features are provided for backwards compatibility
- sync-native-tls-vendored = sync
-
Enables tls-vendored of attohttpc ^0.22, native-tls-vendored of aws-creds ^0.34.1
- sync-rustls-tls = sync
-
Enables tls-rustls of attohttpc ^0.22, rustls-tls of aws-creds ^0.34.1
- blocking = block_on_proc
-
Enables rt and rt-multi-thread of tokio
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?
-
Enables attohttpc ^0.22
- futures with-async-std? with-tokio?
- futures-io with-async-std?
- futures-util with-async-std?
- reqwest tokio-native-tls tokio-rustls-tls? with-tokio?
-
Enables reqwest ^0.11
- surf with-async-std?
- tokio blocking? with-tokio?
- tokio-stream with-tokio?
- minidom tags
-
Enables minidom ^0.15
- block_on_proc blocking?