Function cargo::ops::registry::http_proxy
source · fn http_proxy(config: &Config) -> CargoResult<Option<String>>Expand description
Finds an explicit HTTP proxy if one is available.
Favor cargo’s http.proxy, then git’s http.proxy. Proxies specified
via environment variables are picked up by libcurl.