Skip to main content

Module warnings

Module warnings 

Source

Re-exportsยง

use crate::Config; ๐Ÿ”’
use crate::DEPRECATIONS; ๐Ÿ”’
use crate::Warning; ๐Ÿ”’
use figment::Error; ๐Ÿ”’
use figment::Figment; ๐Ÿ”’
use figment::Metadata; ๐Ÿ”’
use figment::Profile; ๐Ÿ”’
use figment::Provider; ๐Ÿ”’
use figment::value::Dict; ๐Ÿ”’
use figment::value::Map; ๐Ÿ”’
use figment::value::Value; ๐Ÿ”’
use heck::ToSnakeCase; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’

Structsยง

WarningsProvider
Generate warnings for unknown sections and deprecated keys

Constantsยง

BACKWARD_COMPATIBLE_KEYS ๐Ÿ”’
Keys kept for backward compatibility that should not trigger unknown key warnings.
COMPILATION_RESTRICTIONS_KEYS ๐Ÿ”’
Allowed keys for CompilationRestrictions.
DOC_KEYS ๐Ÿ”’
Allowed keys for DocConfig. Required because DocConfig uses skip_serializing_if = "Option::is_none" on some fields (repository, commit, path), whose defaults are None and thus excluded from serialization.
EXTERNAL_COMPILER_KEYS ๐Ÿ”’
Allowed keys for external compiler adapter entries.
LABELS_KEY ๐Ÿ”’
RESERVED_KEYS ๐Ÿ”’
Reserved keys that should not trigger unknown key warnings.
SETTINGS_OVERRIDES_KEYS ๐Ÿ”’
Allowed keys for SettingsOverrides.
SYMBOLIC_KEYS ๐Ÿ”’
Allowed keys for SymbolicConfig. Required because some compatibility aliases and empty length collections are skipped by default serialization, but they are still valid user-facing config keys.
TRACING_KEYS ๐Ÿ”’
Allowed keys for TracingConfig. Required because empty labels and optional trace depth are skipped by default serialization, but they are still valid user-facing config keys.
TRACING_LABELS_KEY ๐Ÿ”’
VYPER_KEYS ๐Ÿ”’
Allowed keys for VyperConfig. Required because VyperConfig uses skip_serializing_if = "Option::is_none" on all fields, causing the default serialization to produce an empty dict.