From 15704d04e7cf604b970de2e8df16c287e35d38b1 Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Sat, 21 Jul 2018 19:32:04 +0200 Subject: [PATCH] version 0.5 note how to build releases --- Cargo.toml | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8794886..82cd378 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http-server" -version = "0.4.0" +version = "0.5.0" authors = ["Damjan Georgievski "] license = "MIT" readme = "README.md" diff --git a/README.md b/README.md index b042ac7..f404e4e 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,9 @@ ARGS: ## FAQ * Q: why .tar and not .zip? A: you can't stream a zip file efficiently, it needs to seek and write to the beggining of a file. + +## Release builds +``` +cargo build --release +strip --strip-unneeded ./target/release/http-server +```