Files
heartwood/crates
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
..
2026-05-06 21:15:54 +01:00
2026-05-06 21:00:14 +01:00
2026-05-11 11:23:18 +01:00
2026-05-18 14:57:33 +02:00
2026-05-06 21:00:14 +01:00
2026-05-06 21:15:54 +01:00
2026-05-06 21:00:14 +01:00
2026-05-11 11:23:18 +01:00