Cargo Features

[dependencies]
ws-auth = { version = "0.0.3", default-features = false, features = ["oauth2"] }

https://doc.rust-lang.org/cargo/reference/features.html

default = oauth2

The oauth2 feature is set by default whenever ws-auth is added without default-features = false somewhere in the dependency tree.

oauth2 default

Affects ws-auth::oauth2