Cargo Features
[dependencies]
stream-download = { version = "0.13.0", default-features = false, features = ["http", "reqwest", "reqwest-native-tls", "reqwest-rustls", "reqwest-middleware", "temp-storage", "open-dal", "async-read", "process"] }
- default = reqwest, temp-storage
-
These default features are set whenever
stream-download
is added without
somewhere in the dependency tree.default-features = false - http reqwest
-
Enables mediatype
Affects
stream-download::http
… - reqwest default reqwest-middleware? reqwest-native-tls? reqwest-rustls? = http
-
Enables reqwest
Affects
http::reqwest_client
… - reqwest-native-tls = reqwest
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- reqwest-rustls = reqwest
-
Enables rustls-tls of reqwest
- reqwest-middleware = reqwest
-
Enables reqwest-middleware
- temp-storage default
-
Enables tempfile
Affects
storage::temp
… - open-dal
-
Enables opendal and pin-project-lite, compat of tokio-util
Affects
stream-download::open_dal
… - async-read process?
-
Enables io of tokio-util
Affects
stream-download::async_read
… - process = async-read
-
Enables tempfile, process of tokio
Affects
stream-download::process
…