Cargo Features
[dependencies]
monoio-netreq = { version = "0.1.1", default-features = false, features = ["default-crate", "native-tls", "hyper", "pool", "pool-native-tls", "pool-hyper", "hyper-tls", "hyper-native-tls"] }
- default = default-crate
-
The
default-crate
feature is set by default whenevermonoio-netreq
is added without
somewhere in the dependency tree.default-features = false - default-crate default hyper? native-tls? = monoio-http
-
use default-crate feature if you want to use the default monoio-transports package
Enables monoio-transports-netreq-fork
- native-tls = default-crate
-
Enables crate-native-tls of monoio-transports-netreq-fork
- hyper = default-crate
-
Enables http-body-util and hyper, crate-hyper of monoio-transports-netreq-fork
Affects
monoio-netreq::hyper
… - pool pool-hyper? pool-native-tls? = monoio-http
-
use the pool features if you want to use the git patch source
Enables pool of monoio-transports-netreq-fork
- pool-native-tls = pool
-
Enables native-tls of monoio-transports-netreq-fork
- pool-hyper = pool
-
Enables http-body-util and hyper, hyper of monoio-transports-netreq-fork
Affects
monoio-netreq::hyper
… - hyper-tls hyper-native-tls?
-
use the hyper-tls feature if you specifically want to use hyper connectors with tls support
Enables http-body-util and hyper, hyper-tls of monoio-transports-netreq-fork
Affects
monoio-netreq::hyper
… - hyper-native-tls = hyper-tls
-
Enables hyper-native-tls of monoio-transports-netreq-fork
monoio-transports-netreq-fork:
by default hyper connector will use rustls
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.