@@ -32,6 +32,7 @@ actix-codec = "0.2.0"
actix-server = "1.0.0"
actix-service = "1.0.1"
jemallocator = "0.3.2"
+snmalloc-rs = "0.2.3"
askama = "0.8"
markup = "0.4.1"
yarte = "0.3"
@@ -1,4 +1,6 @@
-FROM rust:1.40
+FROM rust:1.41
+
+RUN apt update -yqq && apt install -yqq cmake g++
ADD ./ /actix
WORKDIR /actix
@@ -1,5 +1,7 @@
FROM rust:1.40
@@ -1,5 +1,5 @@
#[global_allocator]
-static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
+static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc;
#[macro_use]
extern crate serde_derive;