Skip to main content

Module config_value

Module config_value 

Source
Expand description

ConfigValue represents Cargo configuration values loaded from TOML.

See the module-level doc for how configuration is parsed and deserialized.

Re-exportsยง

use crate::util::data_structures::HashMap; ๐Ÿ”’
use std::collections::hash_map::Entry; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::mem; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use anyhow::anyhow; ๐Ÿ”’
use anyhow::bail; ๐Ÿ”’
use super::key::KeyOrIdx; ๐Ÿ”’
use super::key::escape_key_part; ๐Ÿ”’
use super::ConfigKey; ๐Ÿ”’
use super::Definition; ๐Ÿ”’
use crate::CargoResult; ๐Ÿ”’
use self::ConfigValue as CV; ๐Ÿ”’

Enumsยง

ConfigValue
Similar to [toml::Value] but includes the source location where it is defined.

Constantsยง

NON_MERGEABLE_LISTS ๐Ÿ”’
List of which configuration lists cannot be merged.

Functionsยง

is_nonmergeable_list ๐Ÿ”’