//! Environment abstraction for testing.
modstd_env;pubusestd_env::StdEnv;usestd::path::PathBuf;/// Abstraction over environment variables for testing.
////// Allows mocking environment variables in tests without using
/// `std::env::set_var`, which can cause race conditions.
pubtraitEnv: Send + Sync {/// Get an environment variable value.
fnget(&self, key:&str)->Option<String>;/// Get the user's home directory.
fnhome_dir(&self)->Option<PathBuf>;}