[package]
edition = "2024"
rust-version = "1.95.0"
name = "vgi-forge-forgejo"
version = "0.18.2"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forgejo (and Gitea) adapter for VGI git namespaces: a scoped bot user with token rotation, OAuth2+PKCE binding and account linking, capability probing, repo creation and bootstrap, merge allow-list role projection and verified webhooks."
readme = "README.md"
keywords = [
"git",
"forgejo",
"gitea",
"did",
"trust-registry",
]
categories = [
"development-tools",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/OpenVTC/verifiable-git-infrastructure"
[lib]
name = "vgi_forge_forgejo"
path = "src/lib.rs"
[[test]]
name = "auth"
path = "tests/auth.rs"
[[test]]
name = "forgejo_live"
path = "tests/forgejo_live.rs"
[[test]]
name = "repos"
path = "tests/repos.rs"
[[test]]
name = "webhooks"
path = "tests/webhooks.rs"
[dependencies.aws-lc-rs]
version = "1.18"
features = ["aws-lc-sys"]
default-features = false
[dependencies.base64]
version = "0.23"
[dependencies.hex]
version = "0.4"
[dependencies.http]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"http2",
"system-proxy",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.vgi-forge]
version = "0.18.2"
[dependencies.zeroize]
version = "1.9"
[dev-dependencies.tokio]
version = "1.53"
features = [
"macros",
"rt-multi-thread",
"process",
"time",
]
[dev-dependencies.wiremock]
version = "0.6"
[dev-dependencies.yaml-rust2]
version = "0.13"