commit f7119ee3952ddf6425e5fc5bbae3d68ada86db6b
parent 22c6aef2f76f713071b377be37dd45d0a770cb14
Author: lash <dev@holbrook.no>
Date: Tue, 10 Sep 2024 14:33:51 +0100
Update readme, docs link
Diffstat:
3 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.8"
edition = "2021"
rust-version = "1.67"
license = "GPL-3.0-or-later"
-documentation = "https://defalsify.org/doc/crates/wala/0.1.8/wala"
+documentation = "https://defalsify.org/pub/doc/wala/0.1.8/wala"
description = "Content-adressed HTTP file server"
repository = "https://git.defalsify.org/wala"
# from https://crates.io/category_slugs
diff --git a/README.adoc b/README.adoc
@@ -8,10 +8,28 @@ Currently only `SHA256` is supported.
CAUTION: Wala is not intended to be used by itself in a production environment. Please consider setting a reverse proxy in front of it.
+
+Install
+-------
+
+defalsify.org hosts a pre-assembled crate for `wala`.
+
+To install, first addthe defalsify registry to `.cargo/config.toml`:
+
+[source,bash]
+ [registries]
+ ...
+ defalsify = { index = "sparse+https://defalsify.org/pub/rust/" }
+
+Then install with this command:
+
+`cargo install --registry defalsify --all-features --release`
+
+
Build
-----
-Rustup example:
+To build from source:
`rustup run 1.67 cargo build -v --bin wala --all-features --release`
diff --git a/README.txt b/README.txt
@@ -9,9 +9,23 @@ Currently only SHA256 is supported.
Wala is not intended to be used by itself in a production environment.
Please consider setting a reverse proxy in front of it.
+Install
+
+defalsify.org hosts a pre-assembled crate for wala.
+
+To install, first addthe defalsify registry to .cargo/config.toml:
+
+ [registries]
+ ...
+ defalsify = { index = "sparse+https://defalsify.org/pub/rust/" }
+
+Then install with this command:
+
+cargo install --registry defalsify --all-features --release
+
Build
-Rustup example:
+To build from source:
rustup run 1.67 cargo build -v --bin wala --all-features --release