Skip to content

cesr-rs-v0.5.0

Choose a tag to compare

@devrandom-release-plz devrandom-release-plz released this 09 Jul 15:49
593ed4e

Added

  • (#87) [breaking] K1 KeyState fold + domain model (Authority/Commitment/Establishment) (#136)
  • (#87) [breaking] K1 — KeyState + pure key-state fold (sans-io KERI core) (#134)

Other

  • (#96) [breaking] K0 — convert to workspace + keri-rs sibling crate (#126)

Added

  • Standard derives (Debug, PartialEq, Eq; Clone on Seqner/Number) on
    Matter, Number, Seqner, and Debug on Identifier — needed by keri-rs's
    KeyState (#87).

Changed (breaking)

  • Removed the logic-free cesr::keri::KeyState (and its cesr::KeyState re-export).
    Computed key state now lives in the keri-rs crate as a folded KeyState<'a> (#87).
  • Tholder::satisfy is now index-based: satisfy(indices: impl IntoIterator<Item = u32>)
    instead of the count-based satisfy(count: u64), and is no longer const. Weighted
    thresholds are positional (each clause owns a run of key positions), so satisfaction
    requires the signer index-set, not a bare count — the previous signature could only
    ever return false for Weighted. This is the single canonical satisfaction routine
    (the complete implementation previously lived in keri-rs::threshold::satisfied_by,
    now removed) (#87).