museun / twitchchat

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

Split the synchronous stuff off into its own crate #192

Open museun opened 4 years ago

museun commented 4 years ago

This would allow using the parser (and std i/o stuff) without having to have explicit feature flags.

With a new crate, we can just re-export it here.

Currently, if you wanted to use this crate just as a message parser you'd have to bring in..

async-channel = "^1.4.1"
async-dup = "^1.2.1"
fastrand = "^1.3.4"
futures-lite = "^1.0.0"
futures-timer = "^3.0.2"
log = "^0.4.11"
pin-project-lite = "^0.1.7"

None of these deps are actually required outside of the AsyncRunner (and related Async types)