#[cfg(any(test, feature = "test-utils"))]
use crate::{SubstitutionError, SubstitutionPolicy};
#[cfg(any(test, feature = "test-utils"))]
#[derive(Debug)]
pub struct AllowAllPolicy;
#[cfg(any(test, feature = "test-utils"))]
impl SubstitutionPolicy for AllowAllPolicy {
fn validate(&self, _var_name: &str) -> Result<(), SubstitutionError> {
Ok(())
}
fn description(&self) -> String {
"AllowAll (no restrictions)".to_string()
}
}