build: add forgejo-api workspace dep (sync feature for hive-forge)

This commit is contained in:
müde 2026-07-07 08:48:07 +02:00
commit 39fe0f306a
5 changed files with 105 additions and 1 deletions

View file

@ -10,6 +10,13 @@ path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true }
# `sync` = blocking client (hive-forge is a blocking CLI). TLS backend
# comes from workspace feature unification on reqwest: the
# `rustls-tls-native-roots` feature below applies to forgejo-api's
# internal client too (same compiled reqwest), so the hive-CA trust
# note keeps holding.
forgejo-api = { workspace = true, features = ["sync"] }
url.workspace = true
reqwest = { workspace = true, features = [
"json",
# Trust the OS/system CA store (rustls-native-certs), not only the