radicle-heartwood-lfs/crates/radicle
Lorenz Leutgeb f65175397f oid: `const ZERO_SHA1` instead of `fn sha1_zero`
`fn sha1_zero` can be `const fn`, and since it does not take arguments,
it can just be a `const`. There is no good reason to not have a constant.

Justification for changing the order to first specify "zero" and then
"SHA1": In the future we will support multiple object formats. A
function that produces a zero OID would be parameterized by the object
format then. Imagine `fn zero(format: ObjectFormat)` which would be
called as `Oid::zero(ObjectForma::Sha1)`. In anticipation, we change the
ordering to match.
2026-04-28 14:35:38 +02:00
..
src oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
CHANGELOG.md radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
Cargo.toml radicle/node/config: Use `IndexSet` 2026-04-27 17:36:20 +02:00
build.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00