multiformats / rust-multiaddr

multiaddr implementation in rust
https://crates.io/crates/multiaddr
Other
86 stars 45 forks source link

Add Multiaddr::starts_with #105

Open nazar-pc opened 9 months ago

nazar-pc commented 9 months ago

There is Multiaddr::ends_with, but for matching addresses with/without P2P ending it would be convenient to have Multiaddr::start_with method as well.

thomaseizinger commented 7 months ago

Fine with me!