fey 0.0.1

fey is a fast and reliable username scanner
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::fs::OpenOptions;
use std::io::Write;
use std::path::PathBuf;

// TODO: currently not working

pub fn write_to_file(path: PathBuf, content: Vec<String>) {
    let mut file = OpenOptions::new()
        .create(true)
        .append(true)
        .open(path)
        .unwrap();
    for line in content {
        //write(&path, line).unwrap();
        file.write_all(line.as_ref()).unwrap();
    }
}