Cargo Features
[dependencies]
twitch_api = { version = "0.7.2", default-features = false, features = ["all", "client", "unsupported", "beta", "deny_unknown_fields", "trace_unknown_fields", "serde_json", "helix", "deser_borrow", "surf", "ureq", "reqwest", "tower", "pubsub", "eventsub", "hmac", "mock_api", "typed-builder"] }
- default = deser_borrow
-
The
deser_borrowfeature is set by default whenevertwitch_apiis added withoutsomewhere in the dependency tree.default-features = false - all = client, eventsub, helix, hmac, pubsub, tracing, twitch_oauth2
-
Enables time of twitch_types
- client all? reqwest? surf? tower? ureq?
-
Enables futures and hyper, client of twitch_oauth2 ^0.15.1
Affects
helix::client,errors::ClientRequestError,twitch_api::client,twitch_api::TwitchClient… - unsupported = beta
-
Enables raw_value of optional serde_json
serde_json:
Provide a RawValue type that can hold unprocessed JSON during deserialization.
Affects
pubsub::channel_cheer,pubsub::channel_sub_gifts,pubsub::community_points,pubsub::following,pubsub::hypetrain,pubsub::raid,pubsub::video_playback… - beta unsupported?
-
Affects
channel::guest_star_guest,channel::guest_star_session,channel::guest_star_settings,moderation::warn_chat_user… - deny_unknown_fields
- trace_unknown_fields = tracing
-
Enables serde_ignored
- serde_json eventsub? helix? pubsub?
-
Enables serde_json and serde_path_to_error
Affects
twitch_api::DeserError,twitch_api::parse_json,twitch_api::parse_json_value… - helix all? = serde_json
-
Enables async-trait and hyper, chat, color, emote, extension, goal, moderation, points, stream, timestamp and user of twitch_types
Affects
client::HelixClient,twitch_api::helix,twitch_api::TWITCH_HELIX_URL,twitch_api::TwitchClient.helix,extra::DonationAmount,extra::AnnouncementColor,extra::AnnouncementColorError,twitch_api::TwitchClient… - deser_borrow default
- surf = client
-
Enables http-types and surf, surf of twitch_oauth2 ^0.15.1
- ureq = client
-
Enables ureq ^2.10.1
- reqwest = client
-
Enables reqwest ^0.12.5, reqwest of twitch_oauth2 ^0.15.1
- tower = client
-
Enables http-body-util and tower-service
- pubsub all? = serde_json
-
Enables emote, moderation, points, stream, timestamp and user of twitch_types
Affects
twitch_api::pubsub,twitch_api::TWITCH_PUBSUB_URL… - eventsub all?
-
Enables raw_value of serde_json, chat, color, emote, eventsub, goal, moderation, points, stream, sub and timestamp of twitch_types
Affects
eventsub::EventSubSubscription,eventsub::Conduit,eventsub::Shard,endpoints::eventsub,twitch_api::eventsub,twitch_api::TWITCH_EVENTSUB_WEBSOCKET_URL,extra::DonationAmount,extra::AnnouncementColor,extra::AnnouncementColorError… - hmac all?
- mock_api
-
Enables mock_api of optional twitch_oauth2 ^0.15.1
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.
- typed-builder implicit feature
-
Enables typed-builder ^0.20.0
typed-builder:
Compile-time type-checked builder derive
- twitch_oauth2 all? client? reqwest? surf?
-
Enables twitch_oauth2 ^0.15.1
- tracing all? trace_unknown_fields?