radicle-heartwood-lfs/crates/radicle
Fintan Halpenny 704b6cdabb radicle/node/address: Skip unknown AddressType value
Since `tor` and `i2p` are features, dependents may compile the
`radicle` crate without these features and will not be able to parse
`AddressType`.

Allow parsing of the `AddressType` to fail, and skip if that is the
case.

Further, the same holds for `Address`, and skip if that fails to parse
as well.

Finally, `Address` may parse an address string successfully to
`HostName`, but it may have an `AddressType` that does not match the
`HostName` variant. Guard against this, again skipping if they are not
equal.
For example, `HostName::Dns` is a `String` underneath, so there is
higher chance that something like `deadbeef.onion` parses to this
variant.
2026-05-21 16:08:36 +01:00
..
src radicle/node/address: Skip unknown AddressType value 2026-05-21 16:08:36 +01:00
CHANGELOG.md radicle: Release 0.24.0 2026-05-06 21:00:14 +01:00
Cargo.toml log: New crate for logger implementations 2026-05-11 16:44:37 +01:00
build.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00