sapling/eden/scm/lib/hg-http/Cargo.toml
Arun Kulshreshtha 3295f0f1fe hg-http: add support for --insecure flag
Summary:
Add a `set_global_config` function to `hg-http` that gets called prior to command execution. This function can be used to configure the global behavior of all HTTP requests by setting up a callback that modifies every `Request` prior to sending.

Right now, the use case for this is to support the `--insecure` flag, as can be seen in the code.

Reviewed By: quark-zju

Differential Revision: D27243638

fbshipit-source-id: 61a52c1f4b56fffd860c2a7e9c7b03e146b2240a
2021-03-31 12:53:46 -07:00

14 lines
350 B
TOML

# @generated by autocargo from //eden/scm/lib/hg-http:hg-http
[package]
name = "hg-http"
version = "0.1.0"
edition = "2018"
[dependencies]
async-runtime = { path = "../async-runtime" }
hg-metrics = { path = "../hg-metrics" }
http-client = { path = "../http-client" }
once_cell = "1.4"
progress-model = { path = "../progress/model" }
tracing = "0.1"