You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#![feature(never_type)]
|
|
|
|
#![feature(asm)]
|
|
|
|
|
|
|
|
#![allow(dead_code)]
|
|
|
|
#![cfg_attr(debug_assertions, allow(unused_imports))]
|
|
|
|
|
|
|
|
#[macro_use] extern crate ad_hoc_iter;
|
|
|
|
#[macro_use] extern crate bitflags;
|
|
|
|
#[macro_use] extern crate lazy_static;
|
|
|
|
|
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
|
|
|
|
|
use jemallocator::Jemalloc;
|
|
|
|
|
|
|
|
#[global_allocator]
|
|
|
|
static GLOBAL: Jemalloc = Jemalloc;
|
|
|
|
|
|
|
|
// Utils
|
|
|
|
mod ext;
|
|
|
|
use ext::*;
|
|
|
|
|
|
|
|
// Real stuff
|
|
|
|
mod service;
|
|
|
|
|
|
|
|
// Serving
|
|
|
|
// mod ep;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
// debug_expr!(println!("debug"));
|
|
|
|
// debug_expr!(else println!("not debug"));
|
|
|
|
// debug_expr!(if println!("debug 2"); else println!("not debug 2"));
|
|
|
|
|
|
|
|
println!("Hello, world!");
|
|
|
|
}
|