From ce8fd49520a1e7752c69c2f90a013c9120db78e3 Mon Sep 17 00:00:00 2001 From: Rob Tsuk Date: Mon, 30 Apr 2018 08:49:27 -0700 Subject: [PATCH] Update documentation on config via environment variables Use source replacement as a specific example of the kind of configuration feature that cannot currently be set by environmental variables. --- src/doc/src/reference/config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index d72e9a75d..903a23837 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -133,9 +133,11 @@ example the `build.jobs` key can also be defined by `CARGO_BUILD_JOBS`. Environment variables will take precedent over TOML configuration, and currently only integer, boolean, and string keys are supported to be defined by -environment variables. +environment variables. This means that [source replacement][source], which is expressed by +tables, cannot be configured through environment variables. In addition to the system above, Cargo recognizes a few other specific [environment variables][env]. [env]: reference/environment-variables.html +[source]: (reference/source-replacement.html) -- 2.30.2