Expand description
§VX Configuration Management
This crate provides comprehensive configuration management for the vx tool manager. It supports layered configuration from multiple sources and automatic project detection.
§Features
- Layered Configuration: Supports builtin defaults, user config, project config, and environment variables
- Project Detection: Automatically detects Python, Rust, Node.js, and Go projects
- Multiple Formats: Supports TOML, JSON, and other configuration formats
- Tool Version Management: Manages tool versions across different project types
§Example
use vx_config::ConfigManager;
let config_manager = ConfigManager::new().await?;
let tool_version = config_manager.get_tool_version("node");
Re-exports§
pub use error::ConfigError;
pub use error::Result;
pub use manager::ConfigManager;
pub use config::*;
pub use types::*;
Modules§
- config
- Configuration layer management and figment integration
- detection
- Project type detection and configuration file discovery
- error
- Error types for vx-config
- manager
- Main configuration manager implementation
- parsers
- File parsers for different project configuration formats
- types
- Core types for vx configuration management
Constants§
- VERSION
- Current version of the vx-config crate