Closed RadicalZephyr closed 4 years ago
I don't want to add a new dependency.
I guess you could just implement the Channel with crossbeam in an external crate for your needs.
Sure, that makes sense. I've done that already for my own usage. Would you be open to having the dependency be opt-in through a crate feature?
No. I would like to simplify relm, so I don't want to have multiple implementations of the same things with optional dependencies.
Hi, I needed to make this change for the way that I'm communicating with a Relm app from other parts of the code, specifically I need the
relm::Sender
to beSend
which apparently thestd::mpsc::Sender
is not. Crossbeam channels also have better performance, so it seems like a win to me.I also noticed that Relm itself does not depend on quote so I removed it.