use chrono::{DateTime, Utc};
#[derive(Clone, Debug)]
pub struct SecurityTxtOptions {
pub now: DateTime<Utc>,
pub strict: bool,
}
impl SecurityTxtOptions {
pub fn new(strict: bool) -> Self {
Self {
now: Utc::now(),
strict,
}
}
}
impl Default for SecurityTxtOptions {
fn default() -> Self {
Self {
now: Utc::now(),
strict: true,
}
}
}