From: Rob Tsuk Date: Mon, 30 Apr 2018 15:49:27 +0000 (-0700) Subject: Update documentation on config via environment variables X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~35^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce8fd49520a1e7752c69c2f90a013c9120db78e3;p=cargo.git 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. --- 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)