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
use crate::utils::error::Error;
//use crate::utils::error::Error::FatalError;
use crate::formatter::format_output;
use crate::scanner::scanner;

pub async fn scan<'a>(full_url: String) -> Result<String, Error> {
    let status_scanned_url = scanner(&full_url).await?;

    let formatted_output = format_output(status_scanned_url, full_url);

    // still returning vector for output to a file
    Ok(formatted_output)
}