[package]
edition = "2024"
rust-version = "1.88"
name = "twitch_tohell"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Twitch EventSub webhook and WebSocket support"
documentation = "https://docs.rs/twitch_tohell"
readme = false
keywords = [
"eventsub",
"twitch",
"webhook",
"websocket",
]
categories = [
"api-bindings",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/m3idnotfree/twitch_highway"
[features]
webhook-actix = [
"actix-http",
"hex",
"hmac",
"rand",
"sha2",
"subtle",
]
webhook-axum = [
"axum-core",
"hex",
"hmac",
"http",
"rand",
"sha2",
"subtle",
]
websocket = [
"futures-util",
"pin-project-lite",
"thiserror",
"tokio",
"tokio-tungstenite",
"tower",
"tracing",
]
[lib]
name = "twitch_tohell"
path = "src/lib.rs"
[dependencies.actix-http]
version = "3.12.0"
optional = true
[dependencies.asknothingx2-util]
version = "0.5.0"
features = ["serde"]
[dependencies.axum-core]
version = "0.5.6"
optional = true
default-features = false
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.futures-util]
version = "0.3.32"
optional = true
[dependencies.hex]
version = "0.4.3"
optional = true
[dependencies.hmac]
version = "0.12.1"
optional = true
[dependencies.http]
version = "1.4.0"
optional = true
[dependencies.pin-project-lite]
version = "0.2.17"
optional = true
[dependencies.rand]
version = "0.10.0"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sha2]
version = "0.10.9"
optional = true
[dependencies.subtle]
version = "2.6.1"
optional = true
[dependencies.thiserror]
version = "2.0.18"
optional = true
[dependencies.tokio]
version = "1.50.0"
features = [
"macros",
"net",
"rt-multi-thread",
"sync",
"time",
]
optional = true
[dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["rustls-tls-webpki-roots"]
optional = true
[dependencies.tower]
version = "0.5.3"
features = [
"limit",
"util",
]
optional = true
[dependencies.tracing]
version = "0.1.44"
optional = true
[dependencies.twitch_onthe]
version = "=0.1.0"
[dependencies.url]
version = "2.5.8"