Cargo Features

[dependencies]
twitch_oauth2_auth_flow = { version = "0.0.1-alpha", default-features = false, features = ["surf_client", "reqwest_client"] }
default = surf_client

The surf_client feature is set by default whenever twitch_oauth2_auth_flow is added without default-features = false somewhere in the dependency tree.

surf_client default = surf

Enables surf_client of twitch_oauth2 ^0.5.1

Affects twitch_oauth2_auth_flow::auth_flow_surf

reqwest_client = reqwest

Enables reqwest_client of twitch_oauth2 ^0.5.1

Affects twitch_oauth2_auth_flow::auth_flow_reqwest

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.

reqwest reqwest_client?

Enables reqwest ^0.11

surf surf_client