From b6f8004e41d7e956bc07f6876e4071c33b3a1517 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 18 Sep 2025 13:54:50 -0400 Subject: [PATCH] rename bin so cargo install works --- Cargo.toml | 2 +- readme.md | 9 +++++++++ src/bin/{main.rs => allegedly.rs} | 0 3 files changed, 10 insertions(+), 1 deletion(-) rename src/bin/{main.rs => allegedly.rs} (100%) diff --git a/Cargo.toml b/Cargo.toml index 04ce73f..a0b331c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "allegedly" version = "0.1.0" edition = "2024" -default-run = "main" +default-run = "allegedly" [dependencies] anyhow = "1.0.99" diff --git a/readme.md b/readme.md index 344a8ad..747afbe 100644 --- a/readme.md +++ b/readme.md @@ -12,3 +12,12 @@ Allegedly can also can: - Copy ops to postgres for a mirror running the [reference typescript implementation](https://github.com/did-method-plc/did-method-plc) + + +## install + +for now you'll need rust installed locally. after cloning, run + +```bash +cargo install --path . --bin allegedly +``` diff --git a/src/bin/main.rs b/src/bin/allegedly.rs similarity index 100% rename from src/bin/main.rs rename to src/bin/allegedly.rs -- 2.51.2