summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-11 10:49:22 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-11 10:49:22 +0100
commit3096840df9d49a2a53c08314d978d2aa503ade4e (patch)
tree40f5f93ba234c70140cb3fba0cb7025bd09916ea
parent389caf52b7a247301af71a61cc6a1259147efff3 (diff)
downloadkeks-meet-3096840df9d49a2a53c08314d978d2aa503ade4e.tar
keks-meet-3096840df9d49a2a53c08314d978d2aa503ade4e.tar.bz2
keks-meet-3096840df9d49a2a53c08314d978d2aa503ade4e.tar.zst
doc standalone
-rw-r--r--readme.md4
-rw-r--r--server/Cargo.toml2
2 files changed, 4 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 94a1ca0..811e604 100644
--- a/readme.md
+++ b/readme.md
@@ -37,7 +37,9 @@ When changing code, use `make watch` to re-build things automatically as needed.
(run `cargo install systemfd cargo-watch` if needed)
The server's bind address can be controlled using the `BIND` environment
-variable.
+variable. In production you can also activate the `standalone` feature to embed
+all assets into the binary; This speeds it up and allows the server to run from
+just the binary.
If you use this project or have any suggestions, please
[contact me](https://metamuffin.org/contact)
diff --git a/server/Cargo.toml b/server/Cargo.toml
index 907b8c4..4a61294 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -16,5 +16,5 @@ serde_json = "1.0.93"
include_dir = "0.7.3"
[features]
-default = ["standalone"]
+default = []
standalone = []