diff options
author | Adam Carpenter <adam.carpenter@adp.com> | 2021-12-05 11:12:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 11:12:10 -0500 |
commit | 3eb745f153873d537bdc788170fc878543e7899e (patch) | |
tree | e5d4fb576b8f00f7545e02e7a09d9ff694f81969 /angelsharkd | |
parent | 2f4c5cac2679ebad54ada7bbcb57c60b5521d52d (diff) | |
download | altruistic-angelshark-3eb745f153873d537bdc788170fc878543e7899e.tar.xz altruistic-angelshark-3eb745f153873d537bdc788170fc878543e7899e.zip |
Update README.md
include build examples
Diffstat (limited to 'angelsharkd')
-rw-r--r-- | angelsharkd/src/routes/extensions/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
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. |