Adds proxy support to the tool when it downloads dependencies. The ureq library proxy supports the http, socks4, socks4a, and socks5 protocols. We take the configuration through the PROXY env variable. It is intentionally different than the standard HTTP_PROXY because I do not believe the configuration works exactly the same. The ureq library supports configuration in the format <protocol>://<user>:<password>@<host>:port. The binding-tool CLI will read the PROXY env variable and pass that through to ureq.
In addition, binding-tool use rustls, and rustls-native-certs. This reads TLS certificates from the local system store, which means if you need to add or trust additional certificates you can just add them to your OS and the tool will pick them up automatically. If you do not or cannot add the certificate to the system store, you may set SSL_CERT_FILE and point it to a PEM encoded CA certs file which will be trusted instead.
Adds proxy support to the tool when it downloads dependencies. The ureq library proxy supports the http, socks4, socks4a, and socks5 protocols. We take the configuration through the
PROXY
env variable. It is intentionally different than the standard HTTP_PROXY because I do not believe the configuration works exactly the same. The ureq library supports configuration in the format<protocol>://<user>:<password>@<host>:port
. The binding-tool CLI will read thePROXY
env variable and pass that through to ureq.In addition, binding-tool use rustls, and rustls-native-certs. This reads TLS certificates from the local system store, which means if you need to add or trust additional certificates you can just add them to your OS and the tool will pick them up automatically. If you do not or cannot add the certificate to the system store, you may set
SSL_CERT_FILE
and point it to a PEM encoded CA certs file which will be trusted instead.Resolves #20
Signed-off-by: Daniel Mikusa dan@mikusa.com