Cargo Features

[dependencies]
ttv-rs = { version = "0.1.1", default-features = false, features = ["active", "unofficial", "deprecated", "kraken", "all", "async", "futures-lite", "pin-project-lite", "async-dup", "async-channel", "futures-timer", "fastrand", "serde", "async-io", "smol", "async-tls", "async-std", "tokio", "tokio-util", "tokio-rustls", "webpki-roots", "tokio-native-tls", "native-tls", "reqwest", "surf", "client", "allow_unknown_fields", "logging"] }
default = active, client, deprecated

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

active default all? = auth, chat, extensions, helix, pubsub, webhooks
unofficial all? = graphql, tmi

Enables unofficial of ttv-pubsub

deprecated default all? = v5
kraken = v5

just an alias

all = active, client, deprecated, logging, unofficial
async

chat features

Enables async of ttv-chat

futures-lite

Enables futures-lite of ttv-chat

pin-project-lite

Enables pin-project-lite of ttv-chat

async-dup

Enables async-dup of ttv-chat

async-channel

Enables async-channel of ttv-chat

futures-timer

Enables futures-timer of ttv-chat

fastrand

Enables fastrand of ttv-chat

serde

Enables serde of ttv-chat

async-io

Enables async-io of ttv-chat

smol

Enables smol of ttv-chat

async-tls

Enables async-tls of ttv-chat

async-std

Enables async-std of ttv-chat

tokio

Enables tokio of ttv-chat

tokio-util

Enables tokio-util of ttv-chat

tokio-rustls

Enables tokio-rustls of ttv-chat

webpki-roots

Enables webpki-roots of ttv-chat

tokio-native-tls

Enables tokio-native-tls of ttv-chat

native-tls

Enables native-tls of ttv-chat

reqwest

twitch_api2 clients

Enables reqwest_client of ttv-auth, ttv-helix, ttv-tmi, and twitch_api2 ^0.5.0-alpha.2

ttv-auth:

active

surf

Enables surf_client of ttv-auth, ttv-helix, ttv-tmi, and twitch_api2 ^0.5.0-alpha.2

client default all? = twitch_api2

Enables client of twitch_api2 ^0.5.0-alpha.2

allow_unknown_fields

Enables allow_unknown_fields of ttv-helix, ttv-pubsub, ttv-tmi, and twitch_api2 ^0.5.0-alpha.2

logging all? = log

Enables log of ttv-chat

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

twitch_api2 allow_unknown_fields? client reqwest? surf?

Enables twitch_api2 ^0.5.0-alpha.2

log logging?
auth active reqwest? surf?

Enables ttv-auth

chat active async? async-channel? async-dup? async-io? async-std? async-tls? fastrand? futures-lite? futures-timer? logging? native-tls? pin-project-lite? serde? smol? tokio? tokio-native-tls? tokio-rustls? tokio-util? webpki-roots?

Enables ttv-chat

extensions active

Enables ttv-extensions

helix active allow_unknown_fields? reqwest? surf?

Enables ttv-helix

pubsub active allow_unknown_fields? unofficial?

Enables ttv-pubsub

webhooks active

Enables ttv-webhooks

v5 deprecated kraken?

Enables ttv-v5

deprecated

graphql unofficial?

Enables ttv-graphql

unofficial

tmi allow_unknown_fields? reqwest? surf? unofficial?

Enables ttv-tmi