rust-multiaddr icon indicating copy to clipboard operation
rust-multiaddr copied to clipboard

refactor: remove `arrayref` dep

Open Jamyw7g opened this issue 3 years ago • 2 comments

Reduce third-party dependency.

Jamyw7g avatar Dec 02 '22 16:12 Jamyw7g

Can you expand on the rational here? While it might reduce compile times, I would much rather depend on a well established external crate with anything containing unsafe code.

mxinden avatar Dec 06 '22 12:12 mxinden

In my opinion, there are two reasons, one is to reduce the use of macros, and the other is that the use of third-party crate require to audit. So I think we can implement some simple functions.

Jamyw7g avatar Dec 10 '22 09:12 Jamyw7g