package env_config

  1. Overview
  2. Docs

The default configuration is computed synchronously

type t
include S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val environment_variable : string

The environment variable used to retrieve configuration overrides

val documentation : string

What to display when the environment variable is malformed, in addition to some helpful information

val allow_extra_fields : bool

Allow extra fields to be present in the configuration sexp deserializer. Most users will want this to be true, as it is unlikely the configuration will always be the same type, and most types are not versioned.

val default : unit -> t

Compute the default configuration