We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2411fae + 0738563 commit a659b5aCopy full SHA for a659b5a
src/config.rs
@@ -24,10 +24,12 @@ impl Default for Config {
24
/// Returns a default value for the application's config
25
///
26
/// Sets the following default values:
27
+ ///
28
/// - `Config::max_upload_size`: 10MiB
29
/// - `Config::api_protocol`: `https`
30
31
/// Pulls values from the following environment variables:
32
33
/// - `GIT_REPO_CHECKOUT`: The directory where the registry index was cloned.
34
/// - `MIRROR`: Is this instance of cargo_registry a mirror of crates.io.
35
/// - `HEROKU`: Is this instance of cargo_registry currently running on Heroku.
0 commit comments