This commit is contained in:
2024-01-25 21:51:23 +00:00
parent 57d216cdab
commit 7b6a16b662
13 changed files with 493 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
use elname::{complete_elname, partial_elname};
use std::fs::read_to_string;
pub fn main() {
// Presume running in the elname_rs folder
for line in read_to_string("../wordlist.10000").unwrap().lines() {
let tmp_elname = complete_elname(line);
if let Some(el) = tmp_elname {
//println!("{} -> {:?}", line, el);
}
}
for line in read_to_string("../wordlist.10000").unwrap().lines() {
let tmp_elname = partial_elname(line);
println!("{} -> {:?}", line, tmp_elname);
}
}