multiformats / rust-multiaddr

multiaddr implementation in rust
https://crates.io/crates/multiaddr
Other
88 stars 47 forks source link

fix: avoid allocations in `Display` and `Debug` of `Multiaddr` #106

Closed hrxi closed 1 year ago

hrxi commented 1 year ago

No, just happened to read these implementations by chance, and saw that they allocate. I remembered that we include them in a lot of log messages so I thought it might be worth sending a PR.

Should I also write a changelog entry if I don't need a patch release?

mxinden commented 1 year ago

Should I also write a changelog entry if I don't need a patch release?

Fine without. Will be released whenever we cut a new release.

Thank you!