Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/forge-client/Cargo.toml

30 lines
876 B
TOML

# `forge-client` — the one place hyperhive builds a Forgejo client and
# parses a Forgejo notification. Shared by `hive-forge`, `hive-forge-notify`,
# `swarm-controller` and `swarm-ci-metrics` so that forgejo-api schema drift is
# handled once.
[package]
name = "forge-client"
edition.workspace = true
version.workspace = true
readme = "README.md"
[lints]
workspace = true
[features]
# The blocking `forgejo_api::sync` client and the blocking raw reqwest
# client. Only the CLI wants these.
sync = ["forgejo-api/sync", "reqwest/blocking"]
[dependencies]
forgejo-api.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
time.workspace = true
tokio = { workspace = true, features = ["time"] }
url.workspace = true
[dev-dependencies]
serde_json.workspace = true
tokio = { workspace = true, features = ["test-util", "macros", "rt"] }