Function cargo::ops::http_proxy_exists
[−]
[src]
pub fn http_proxy_exists(config: &Config) -> CargoResult<bool>
Determine if an http proxy exists.
Checks the following for existence, in order:
- cargo's
http.proxy - git's
http.proxy - http_proxy env var
- HTTP_PROXY env var
- https_proxy env var
- HTTPS_PROXY env var