BiagioFesta / wtransport

Async-friendly WebTransport implementation in Rust
Apache License 2.0
470 stars 31 forks source link

Please implement the Clone trait for the Identity #152

Closed bugnano closed 8 months ago

bugnano commented 8 months ago

I see that in version 0.1.12 there was an incompatible change so that instead of using Certificate, now I have to use Identity. Given that now I'm having the same issue as #89 , it would be nice to have the Identity to implement the Clone trait (and also please keep in mind the Clone trait for any future breaking changes 😉 ).

bugnano commented 8 months ago

No, wait. I can pass a reference to the Identity, so the Clone trait is not needed. My bad.