museun / twitchchat

interface to the irc portion of Twitch's chat
Apache License 2.0
103 stars 23 forks source link

0.15.0 #226

Open museun opened 4 years ago

museun commented 4 years ago

This removes the Connector trait and favors independent crates. This'll allow more flexible versioning (and changes/additions) for external deps.

This changes the Encodable trait to use a &mut dyn Write so the trait implementations can be object safe.

This removes the AsyncRunner and provides a bunch of composable functions instead.

The MpscWriter is now usable in both sync and async contexts.

Add Sink/Stream wrappers for Encoder/Decoder

Add a Handshake type that allows a connection flow to be started/wait for it to be ready.

Remove most of the stuff from the root, re-export common types into distinct submodules:

Add an idle_detection_loop that does the 'complex' part of the old runner -- but is reusable and is opt-in

What needs to be done: