Cargo Features

[dependencies]
tmi = { version = "0.7.2", default-features = false, features = ["message-types", "simd", "client", "serde"] }
default = client, message-types, simd

These default features are set whenever tmi is added without default-features = false somewhere in the dependency tree.

message-types default

Enable strongly-typed Twitch IRC message types.

Enables chrono and smallvec

chrono:

message-types feature

Affects tmi::msg

simd default

Enable SIMD-accelerated parser.

client default

Enable the client API.

Enables futures-util, rand, rustls-native-certs ^0.6.3, tokio, tokio-rustls ^0.24.1, tokio-stream, and tracing

futures-util:

client feature

Affects tmi::client

serde

Enable serializing message types.

Enables serde of chrono and serde

serde feature