radicle-heartwood-lfs/crates/radicle-oid
Lorenz Leutgeb f46624b81c oid: SHA1_DIGEST_LEN → Oid::LEN_SHA1
A small refactor to move this constant closer to the `enum` that it is
about. An associated constant constant fits more nicely.

Reason for changing the name from `SHA1_*_LEN` to `LEN_SHA1`: As we
think about the object format in the future becoming variable, we
would have that the length of an OID is parameterized by the object
format. So, we imagine a function `fn len(format: ObjectFormat)`, to
be called as `Oid::len(ObjectFormat::Sha1)`. This is the new order
we use.
2026-04-28 14:35:38 +02:00
..
src oid: SHA1_DIGEST_LEN → Oid::LEN_SHA1 2026-04-28 14:35:38 +02:00
Cargo.toml gix: CVE-2025-31130 2025-10-15 11:34:01 +01:00