[package]
name = "twitch_types"
version = "0.4.1"
edition = "2021"
repository = "https://github.com/twitch-rs/twitch_types"
license = "MIT OR Apache-2.0"
description = "common types for Twitch"
keywords = ["twitch", "api"]
readme = "README.md"
include = [
"src/*",
"./Cargo.toml",
"examples/*",
"./README.md",
"CHANGELOG.md",
"LICENSE*",
]
[dependencies]
serde = { version = "1.0", features = ["derive"], optional = true }
time = { version = "0.3", optional = true, default-features = false, features = [
"parsing",
"formatting",
] }
tracing = { version = "0.1", optional = true }
arbitrary = { version = "1.2.0", optional = true }
zerofrom = { version = "0.1.0", optional = true }
[features]
default = []
emote = ["serde?/derive"]
moderation = ["serde?/derive"]
points = ["serde?/derive"]
stream = ["serde?/derive"]
timestamp = []
user = ["serde?/derive"]
goal = ["serde?/derive"]
eventsub = []
color = ["serde/derive"]
serde = ["dep:serde"]
deny_unknown_fields = ["serde"]
[workspace]
members = ["xtask"]
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "nightly"]
rustdoc-args = ["--cfg", "nightly"]