[package]
edition = "2024"
rust-version = "1.95.0"
name = "vgi-cli"
version = "0.4.15"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The `vgi` command: `vgi repo init` turns VGI commit trust on for a repository in a manual or personal-account git namespace, acting as you through `gh` (GitHub) or your own token (Forgejo) — the same bootstrap the community's bridge runs."
readme = "README.md"
keywords = [
"git",
"github",
"forgejo",
"did",
"trust-registry",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/OpenVTC/verifiable-git-infrastructure"
[lib]
name = "vgi_cli"
path = "src/lib.rs"
[[bin]]
name = "vgi"
path = "src/main.rs"
[[test]]
name = "forgejo"
path = "tests/forgejo.rs"
[[test]]
name = "github"
path = "tests/github.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.base64]
version = "0.23"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"http2",
"system-proxy",
]
default-features = false
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.53"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.url]
version = "2.5"
[dependencies.verify-trust]
version = "0.4.15"
[dependencies.vgi-forge]
version = "0.4.15"
[dependencies.vgi-forge-forgejo]
version = "0.4.15"
[dependencies.vgi-forge-github]
version = "0.4.15"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wiremock]
version = "0.6"