Skip to content

Commit 4bfd29a

Browse files
committed
trustpub: Implement GitHubClaims struct
1 parent 84f7f96 commit 4bfd29a

File tree

5 files changed

+405
-2
lines changed

5 files changed

+405
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/crates_io_trustpub/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ test-helpers = ["dep:mockall", "dep:serde_json"]
1313
[dependencies]
1414
anyhow = "=1.0.98"
1515
async-trait = "=0.1.88"
16+
chrono = { version = "=0.4.41", features = ["serde"] }
1617
jsonwebtoken = "=9.3.1"
1718
mockall = { version = "=0.13.1", optional = true }
1819
reqwest = { version = "=0.12.15", features = ["gzip", "json"] }
@@ -24,7 +25,7 @@ tokio = { version = "=1.45.0", features = ["sync"] }
2425

2526
[dev-dependencies]
2627
claims = "=0.8.0"
27-
insta = "=1.43.1"
28+
insta = { version = "=1.43.1", features = ["json", "redactions"] }
2829
mockito = "=1.7.0"
2930
serde_json = "=1.0.140"
3031
tokio = { version = "=1.45.0", features = ["macros", "rt-multi-thread"] }

0 commit comments

Comments
 (0)