From fad95f055091c4c79cffc1e7acd85fd3dff77f04 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Fri, 29 May 2026 03:36:22 +0200 Subject: [PATCH] docs: update README with Gitea registry installation --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c3d1ddc..799e6fb 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,22 @@ Not domain-specific — no opinions about what your content type looks like. ## Add as dependency +Via the private Gitea registry (recommended): + +```toml +[dependencies] +k-ap = { version = "0.3.0", registry = "gitea" } +``` + +Configure the registry in `.cargo/config.toml`: + +```toml +[registries.gitea] +index = "sparse+https://git.gabrielkaszewski.dev/api/packages/GKaszewski/cargo/" +``` + +Or via git if you don't have registry access: + ```toml [dependencies] k-ap = { git = "https://git.gabrielkaszewski.dev/GKaszewski/k-ap.git", tag = "v0.3.0" }