sapling/eden/scm/lib/dynamicconfig/Cargo.toml
Durham Goode 3fbb5de94a configs: add an easy way to test config changes locally
Summary:
The HG_TEST_REMOTE_CONFIG environment variable was added to allow tests
to declare custom remote config values, but we can also use it to make canarying
easier.

With this change, users can do `HG_TEST_REMOTE_CONFIG=configerator hg
debugdynamicconfig` to test a change, after running arc build in their
configerator.

We might want to simplify this further in the future to some sort of hidden dev
command line flag, like `hg debugdynamicconfig --canary-remote`

Reviewed By: quark-zju

Differential Revision: D22081459

fbshipit-source-id: 07977097347af9d5872402beeda0ed9160176e7e
2020-06-30 09:50:44 -07:00

26 lines
509 B
TOML

[package]
name = "dynamicconfig"
version = "0.1.0"
edition = "2018"
[dependencies]
anyhow = "1.0.19"
configparser = { path = "../configparser" }
hgtime = { path = "../hgtime" }
hostname = "0.3"
minibytes = { path = "../minibytes" }
os_info = "2.0.1"
reqwest = { version = "0.10", features=["blocking"] }
serde_json = "1.0"
sha2 = "0.8"
thrift-types = { path = "../thrift-types" }
types = { path = "../types" }
util = { path = "../util" }
[dev-dependencies]
tempfile = "3.1"
[features]
default = []
fb = []