From f75046e74d36ea6bfc254d8b0dcb858c9443f1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Healy?= Date: Fri, 24 Apr 2026 23:05:36 +0100 Subject: [PATCH] Add install instructions. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index a37613c..73b89f6 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,21 @@ assumptions about a microservice: The `slingshot-microservice` framework handles setting up the RabbitMQ connection, listening to the inbound queue and routing results based on case variables. +## Adding The Framework To Your Project + +Add `slingshot-microservice` to your `Cargo.toml` dependencies directly from Codeberg: + +```toml +[dependencies] +slingshot-microservice = { git = "https://codeberg.org/seanhly/slingshot-microservice" } +``` + +Then fetch and build dependencies: + +```bash +cargo build +``` + ## Example Usage ```rust