From 3eacea3ec3e6bc4745153b3d217be2ebe7d48dcf Mon Sep 17 00:00:00 2001 From: Glenn Gore Date: Sun, 22 Nov 2026 10:53:25 -0700 Subject: [PATCH] chore(deps)!: move to the affinidi-tdk 0.49 generation affinidi-data-integrity 0.9, affinidi-secrets-resolver 0.6 and affinidi-did-common 0.5, with the affinidi-tdk dev-dependency at 0.49, so the tree holds one affinidi-crypto and one DID-crate generation. Replaces #46. Also applies rustfmt to src/create.rs and src/lib.rs. Signed-off-by: Glenn Gore --- CHANGELOG.md | 11 +++++++++++ Cargo.toml | 8 ++++---- src/create.rs | 4 ++-- src/lib.rs | 2 +- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa20cd4..fadb868 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed (breaking) + +- **Moved to the affinidi-tdk 0.49 generation.** `affinidi-data-integrity` 0.8 → 0.9, + `affinidi-secrets-resolver` 0.5 → 0.6 and `affinidi-did-common` 0.4 → 0.5, with the + `affinidi-tdk` dev-dependency 0.36 → 0.49. Types from `affinidi-data-integrity` and + `affinidi-secrets-resolver` (`DataIntegrityProof`, `SignOptions`, `VerifyOptions`, + `Secret`) appear in this crate's API, so a caller has to move to the same generation. + The tree now holds one `affinidi-crypto` (0.4) and one DID-crate generation; before, + `trust-tasks-proof` pulled a second set in through the dev-dependency, which is why the + automated `affinidi-tdk` 0.37 bump (#46) failed to build. + ## [0.14.0] - 2026-11-10 **Breaking:** a VAC states purposes of use (DTG Core Credentials, context `v2`), and diff --git a/Cargo.toml b/Cargo.toml index 55e1c54..04b541c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,12 @@ default = ["affinidi-signing"] affinidi-signing = ["dep:affinidi-secrets-resolver"] [dependencies] -affinidi-data-integrity = "0.8" +affinidi-data-integrity = "0.9" # did:scid parties compare by DID, ignoring a `?src=` locator # (`scid::same_reference`, 0.4.4). Already in the graph through # affinidi-data-integrity. -affinidi-did-common = { version = "0.4.4", default-features = false } -affinidi-secrets-resolver = { version = "0.5", optional = true } +affinidi-did-common = { version = "0.5", default-features = false } +affinidi-secrets-resolver = { version = "0.6", optional = true } chrono = "0.4" multibase = "0.9" @@ -34,7 +34,7 @@ tracing = "0.1" unicode-normalization = "0.1" [dev-dependencies] -affinidi-tdk = "0.36" +affinidi-tdk = "0.49" anyhow = "1.0" tokio = "1" # The `data_room` example seals records for real rather than pretending to. Dev-only: diff --git a/src/create.rs b/src/create.rs index bbc2b69..d52e1cb 100644 --- a/src/create.rs +++ b/src/create.rs @@ -1,6 +1,6 @@ /*! -* Builder methods for creating new entities. -*/ + * Builder methods for creating new entities. + */ use crate::{ AuthorityGrant, CredentialSubject, CredentialSubjectAuthority, CredentialSubjectBasic, diff --git a/src/lib.rs b/src/lib.rs index 9903269..9c4deb4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ /*! Decentralized Trust Graph (DTG) Credentials -*/ + */ use affinidi_data_integrity::DataIntegrityProof; #[cfg(feature = "affinidi-signing")]