Function cargo::ops::registry::http_proxy_exists
source · fn http_proxy_exists(config: &Config) -> CargoResult<bool>
Expand description
Determine if an http proxy exists.
Checks the following for existence, in order:
- cargo’s
http.proxy
- git’s
http.proxy
http_proxy
env varHTTP_PROXY
env varhttps_proxy
env varHTTPS_PROXY
env var