diff --git a/Cargo.toml b/Cargo.toml index be1c840..d8de961 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http-server" -version = "0.7.0" +version = "0.8.0" authors = ["Damjan Georgievski "] license = "MIT" readme = "README.md" diff --git a/src/main.rs b/src/main.rs index 0e16d30..d383afe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,11 @@ extern crate percent_encoding; #[macro_use] extern crate clap; #[macro_use] extern crate log; +use std::alloc::System; + +#[global_allocator] +static GLOBAL: System = System; + mod channel; mod web;