twitchchat 0.12.0-alpha.0

interface to the irc-side of twitch's chat system
docs.rs failed to build twitchchat-0.12.0-alpha.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: twitchchat-0.14.8

twitchchat

Documentation Crates Actions

This crate provides a way to interact with Twitch's chat.

Along with parse messages as Rust types, it provides methods for sending messages.

It also provides an 'event' loop which you can use to make a bot.

Runtime

This crate is runtime agonostic. To use..

Read/Write provider Features
async_io async-io
smol smol
async_std async-std
tokio tokio and tokio-util

TLS

If you want TLS supports, this crate currently supports using various rustls wrappers.

Enable the above runtime and also enable the cooresponding features:

Read/Write provider Runtime Features
async_io async_io async-tls
smol smol async-tls
async_std async_std async-tls
tokio tokio tokio-util, tokio-rustls and webpki-roots

Serde support

To enable serde support, simply enable the optional serde feature

Examples

Using async_io to connect with..

Using async_std to connect with..

Using smol to connect with..

Using tokio to connect with..

How to use the crate as just a message parser(decoder)/encoder

An a simple example of how one could built a bot with this

License

twitchchat is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.