mirror of
https://github.com/sadoyan/aralez.git
synced 2026-06-28 02:12:22 +08:00
17 lines
361 B
Rust
17 lines
361 B
Rust
mod tls;
|
|
mod utils;
|
|
mod web;
|
|
|
|
#[global_allocator]
|
|
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|
// pub static A: CountingAllocator = CountingAllocator;
|
|
|
|
fn main() {
|
|
if std::env::args().any(|a| a == "--version" || a == "-v") {
|
|
println!("aralez {}", env!("CARGO_PKG_VERSION"));
|
|
std::process::exit(0);
|
|
}
|
|
|
|
web::start::run();
|
|
}
|