use OsStr;
use crate*;
/// Like [`std::env::var`], but treat not-set as empty string.
/// Tracing and reporting is built-in.
///
/// If you need to detect the case where the env var is not set,
/// use `std::env::var` directly.
///
/// ```rust
/// # use pistonite_cu as cu;
/// # fn main() -> cu::Result<()> {
/// assert!(!cu::env_var("CARGO")?.is_empty());
/// assert!(cu::env_var("NOT_SET")?.is_empty());
/// # Ok(()) }
/// ```