This crate helps you identify email addresses that belong to colleges or universities to automate the process of approving or rejecting academic discounts or free tiers.
We use the lists maintained by Jetbrains.
fn main() {
let validation = rswot::validate("lreilly@stanford.edu").unwrap();
println!("Email: {}", validation.email);
println!("TLD: {}", validation.tld);
println!("Institution Name: {}", validation.institution_names.unwrap()[0]);
}This project used some code from the original Rust port of SWOT.