Skip to main content

Module loader

Module loader 

Source
Expand description

Config file discovery, include handling, and --config parsing

Re-exportsยง

use std::ffi::OsStr; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use std::sync::MutexGuard; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use anyhow::Result; ๐Ÿ”’
use anyhow::bail; ๐Ÿ”’
use cargo_util::collections::HashMap; ๐Ÿ”’
use cargo_util::collections::HashSet; ๐Ÿ”’
use cargo_util::is_glob_pattern; ๐Ÿ”’
use cargo_util::paths; ๐Ÿ”’
use cargo_util_terminal::Shell; ๐Ÿ”’
use cargo_util_terminal::report::Level; ๐Ÿ”’
use super::ConfigValue; ๐Ÿ”’
use super::Scope; ๐Ÿ”’
use super::schema::DetailedIncludeConfig; ๐Ÿ”’
use super::schema::IncludeConfig; ๐Ÿ”’
use super::ConfigKey; ๐Ÿ”’
use super::ConfigReader; ๐Ÿ”’
use super::ConfigStore; ๐Ÿ”’
use ConfigValue as CV; ๐Ÿ”’

Structsยง

ConfigLoader
Discovers and loads config files from the filesystem.