radicle-heartwood-lfs/radicle
Fintan Halpenny 088339850b
radicle: introduce identity document version
This change introduces versioning to the identity document format.

The `Version` type is introduced to capture this. Importantly, it is very
restricted in its construction and API. `Version::new` provides a smart
constructor to ensure that it is only ever constructed within the expected
bounds of `0 < v <= IDENTITY_VERSION`, where `IDENTITY_VERSION` is the constant
for the current version.

Note that serializing of the `Doc::version` is skipped to preserve the `Oid`
outputs of all the tests – which means that the first `version` is always
implicit and is not really expected to exist in the serialized forms of the
identity document.
2024-11-14 12:09:28 +01:00
..
src radicle: introduce identity document version 2024-11-14 12:09:28 +01:00
Cargo.toml Update `radicle` crate to 0.13.0 2024-08-28 13:01:35 +02:00