From 3eb745f153873d537bdc788170fc878543e7899e Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sun, 5 Dec 2021 11:12:10 -0500 Subject: Update README.md include build examples --- angelsharkd/src/routes/extensions/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/angelsharkd/src/routes/extensions/README.md b/angelsharkd/src/routes/extensions/README.md index 1aed1dd..d5d0c1a 100644 --- a/angelsharkd/src/routes/extensions/README.md +++ b/angelsharkd/src/routes/extensions/README.md @@ -8,6 +8,16 @@ This functionality may not be desirable for all end users, and therefore is completely opt-in with feature flags. For example, at compile time, you can add `--features simple_search` to enable a given extension called `simple_search`. +``` +cargo build --release --bin angelsharkd --features simple_search +``` + +or + +``` +cargo install --path angelsharkd --features simple_search +``` + To add additional features, read `mod.rs` and `Cargo.toml` for `angelsharkd` to see how to conditionally incorporate your own warp HTTP filters into the project. -- cgit v1.2.3