barbed 0.0.2

Twitch Helix, EventSub, OAuth, and signing helpers
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "barbed"
version = "0.0.2"
authors = ["すごいジャン <me@sugoijan.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Twitch Helix, EventSub, OAuth, and signing helpers"
documentation = "https://docs.rs/barbed"
readme = false
keywords = [
    "twitch",
    "eventsub",
    "helix",
    "oauth",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sugoijan/barbed"

[package.metadata.docs.rs]
all-features = true

[features]
cloudflare-worker = [
    "dep:worker",
    "dep:wasm-bindgen",
]
reqwest-client = [
    "dep:anyhow",
    "dep:reqwest",
    "dep:tokio",
    "dep:tracing",
]
tokio-eventsub = [
    "reqwest-client",
    "dep:futures-util",
    "dep:rustls",
    "dep:tokio-tungstenite",
]

[lib]
name = "barbed"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.reqwest]
version = "0.13"
features = [
    "native-tls",
    "json",
    "form",
    "query",
]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = [
    "full",
    "tracing",
]
optional = true

[dependencies.tokio-tungstenite]
version = "0.28"
features = [
    "rustls-tls-native-roots",
    "connect",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.worker]
version = "0.7"
optional = true