19 lines
326 B
Rust
19 lines
326 B
Rust
|
|
//! mailer-security: DKIM, SPF, and DMARC verification.
|
||
|
|
|
||
|
|
pub use mailer_core;
|
||
|
|
|
||
|
|
/// Placeholder for DKIM/SPF/DMARC implementation.
|
||
|
|
pub fn version() -> &'static str {
|
||
|
|
env!("CARGO_PKG_VERSION")
|
||
|
|
}
|
||
|
|
|
||
|
|
#[cfg(test)]
|
||
|
|
mod tests {
|
||
|
|
use super::*;
|
||
|
|
|
||
|
|
#[test]
|
||
|
|
fn test_version() {
|
||
|
|
assert!(!version().is_empty());
|
||
|
|
}
|
||
|
|
}
|