Repository navigation
chore: set up standalone crate (CI, release-plz publishing) - #1
Merged
Merged
Conversation
Contributor
Author
|
Added the demo that used to live in a separate throwaway repo:
|
Forked from https://github.com/etairi/predicate-credential-system by Erkan Tairi (base commit aa57efd, "Add serialization support"), plus an application-context patch (attest_in_context, prove_in_context, check_attestation_in_context, check_proof_in_context, issue_in_context) developed for OpenVTC's vetting use case on top of it. Full credit to Erkan Tairi for the original research implementation; see the PR description and Cargo.toml/LICENSE for attribution. Squashed into one commit (rather than carrying per-commit history) because this repo's DCO check requires every commit to carry a Signed-off-by matching its author, which cannot be added on someone else's behalf. Also folds in the throwaway pcs-vetting-prototype demo as demo/, a workspace member that stays publish = false and out of release-plz's semver check — only the root crate ships to crates.io. Bumps demo's vta-sdk pin from 0.48.0 to 0.56.1; everything else in the workspace was already at its latest compatible version. Adds CI (fmt, clippy, tests, no-default-features, docs, MSRV, package) and release-plz-based publishing to crates.io via Trusted Publishing. Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
stormer78
force-pushed
the
standalone-crate-setup
branch
from
September 28, 2026 19:24
41450a4 to
76f2657
Compare
cargo test --workspace pulled in demo/'s vta-sdk dependency (trust-tasks-rs, dtg-credentials, affinidi-data-integrity, reqwest/rustls, ...) on every PR, turning a change to the library alone into a full Affinidi-ecosystem build. demo/ stays a workspace member for a shared lockfile, but is now an optional harness developers run locally (see demo/README.md), not a CI gate. Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This repository is a fork of etairi/predicate-credential-system by @etairi — full credit to them for the original research implementation of the predicate credential system (PCS) this crate is built on. This PR brings that work over and gets the repository ready to stand on its own:
aa57efdand earlier, authored by @etairi) plus theapplication-contextpatch that was developed on top of it for OpenVTC's use (previously carried as a vendored patch inside theopenvtcmonorepo).Cargo.toml: adds therepositoryfield, dropspublish = falsenow that this is its permanent, standalone home..github/workflows/ci.yml): fmt, clippy, tests (all features), a no-default-features build, docs, MSRV (1.95.0) andcargo package..github/workflows/publish.yml,release-plz.toml,RELEASING.md): merging a Release PR tags and publishes to crates.io via Trusted Publishing (OIDC, no long-lived token in the repo).Follow-up (manual, outside this PR)
RELEASING.md: ownerOpenVTC, repopredicate-credential-system, workflowpublish.yml, environmentcrates-io.openvtcswitches its vendored copy over to this crate as a normal dependency.Test plan
cargo package --lockedcargo clippy --all-targets --all-features -- -D warningscargo fmt --all -- --check