Make libp2p::request_response::RequestId instantiable? #3712
-
Hey all, Thanks for the awesome work you do! It would be helpful to create instances of Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Matthias,
Can you expand on why you need to instantiate a In general, I would like to keep the interface of |
Beta Was this translation helpful? Give feedback.
Hi Matthias,
Can you expand on why you need to instantiate a
RequestId
in a unit test? I am assuming alibp2p-request-response
user unit test?In general, I would like to keep the interface of
libp2p-*
crates as small as possible as that allows us to package more changes as non-breaking, and thus easy for all of you to upgrade to.