radicle-heartwood-lfs/crates/radicle-node/src
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
..
reactor rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
test oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
tests e2e: Fix race condition in test_non_fastforward_identity_doc 2026-04-23 08:45:06 +01:00
worker radicle/crefs: Refactor `GetCanonicalRefs` 2026-04-08 11:13:28 +01:00
control.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
fingerprint.rs cargo: Update `cyphernet` from 0.5.2 to 0.5.3 2026-04-15 11:59:15 +01:00
lib.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
main.rs node: Rename systemd Credentials 2026-04-27 18:21:26 +02:00
reactor.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime.rs node: Fix conditions for socket activation 2026-04-22 12:03:05 +01:00
test.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
tests.rs radicle/node/config: Use `IndexSet` 2026-04-27 17:36:20 +02:00
wire.rs node: Expand `target_os` condition for keep-alive 2026-04-22 12:06:12 +01:00
worker.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00