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.
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.