The TryFrom<&Ucan> for Cid trait implicitly hardcodes a hasher (blake2b, or blake3 via #85). This is used (only?) by UcanBuilder::witnessed_by and UcanBuilder::delegating_from to encode proofs as cids, requiring consumers to use whatever encoding is used in the Ucan->Cid trait if using the builder.
The
TryFrom<&Ucan> for Cid
trait implicitly hardcodes a hasher (blake2b, or blake3 via #85). This is used (only?) byUcanBuilder::witnessed_by
andUcanBuilder::delegating_from
to encode proofs as cids, requiring consumers to use whatever encoding is used in the Ucan->Cid trait if using the builder.