radicle-heartwood-lfs/crates/radicle-core
Fintan Halpenny 35a01898e6 core: guard on expected multibase
When decoding an input string for a `RepoId`, the base was never checked.
This change ensures that the base is checked and will error otherwise.

To allow for future base codes, the change introduces a sanctioned set
of base codes, which only contains `Base58Btc` for now.

Tests are added to ensure that parsing is correct and includes a valid
multibase code 'Z', which is not the expected 'z'.
2026-02-12 13:52:28 +01:00
..
src core: guard on expected multibase 2026-02-12 13:52:28 +01:00
Cargo.toml core: Introduce NodeId 2026-01-09 14:03:32 +01:00