mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
Add the stripped twin-github test server to the workspace, wire it through fabro-test, and cover fabro-github's real HTTP auth and pull-request flows with twin-backed integration tests. This also refactors the GitHub helper entry points to take explicit base URLs so tests and callers share the same request path.
30 lines
702 B
TOML
30 lines
702 B
TOML
[package]
|
|
name = "twin-github"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Fake GitHub API server for local black-box testing"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
axum = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
jsonwebtoken = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tempfile = "3"
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
reqwest = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util", "macros"] }
|