radicle-heartwood-lfs/crates
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
..
radicle oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
radicle-cli oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
radicle-cli-test clippy: Disallow lints `collapsible_*` 2026-04-15 10:06:05 +02:00
radicle-cob clippy: Deny `unwrap_used` 2026-04-15 10:06:05 +02:00
radicle-core Spell "Radicle" with a captial R 2026-04-17 17:15:31 +01:00
radicle-crypto cargo: Update `cyphernet` from 0.5.2 to 0.5.3 2026-04-15 11:59:15 +01:00
radicle-dag repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-fetch cargo: Remove unused dependencies 2026-04-15 01:50:14 +02:00
radicle-git-metadata rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-git-ref-format git-ref-format: New crate 2025-10-13 13:34:15 +02:00
radicle-localtime localtime: add description in Cargo.toml 2026-02-20 13:48:14 +00:00
radicle-node oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
radicle-oid oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
radicle-protocol treewide: radicle.{xyz → dev,network} 2026-04-27 18:34:30 +02:00
radicle-remote-helper Spell "Radicle" with a captial R 2026-04-17 17:15:31 +01:00
radicle-schemars schemars: Update to 0.7.0 2026-03-26 15:32:50 +00:00
radicle-signals rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-systemd rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-term Spell "Radicle" with a captial R 2026-04-17 17:15:31 +01:00
radicle-windows rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00