use system alocator instead of jmalloc

Rust 1.28 feature. saves 300kb in executable size
This commit is contained in:
Дамјан Георгиевски 2018-08-03 14:01:11 +02:00
parent d6fd817ce0
commit 7a0572de80
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "http-server"
version = "0.7.0"
version = "0.8.0"
authors = ["Damjan Georgievski <gdamjan@gmail.com>"]
license = "MIT"
readme = "README.md"

View file

@ -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;