n0-computer / quic-rpc

A streaming rpc system based on quic
Other
94 stars 12 forks source link

refactor: get rid of the lifetimes #37

Closed rklaehn closed 1 year ago

rklaehn commented 1 year ago

This makes things a bit less efficient, but for both flume and quinn cloning a channel is just cloning an arc, so the cost is limited.

The biggest downside is that this makes it slightly harder to implement new transports. But I think for s2n_quic we have to wrap in an arc anyway. So maybe 🤷‍♂️ ?

The main benefit of this is that we no longer need rust 1.65. 1.63 or even older works just fine.

rklaehn commented 1 year ago

We will do this for 0.5.0. Merged into the interaction pattern refactor.