Cargo Features

[dependencies]
okta-jwt-verifier = { version = "0.9.0", default-features = false, features = ["client-surf", "client-reqwest", "cache-surf", "cache-reqwest"] }
default = client-reqwest

The client-reqwest feature is set by default whenever okta-jwt-verifier is added without default-features = false somewhere in the dependency tree.

client-surf = surf
client-reqwest default = reqwest, reqwest-middleware
cache-surf = http-cache-surf
cache-reqwest = http-cache-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.

surf client-surf?
reqwest client-reqwest
reqwest-middleware client-reqwest

Enables reqwest-middleware ^0.3.3

http-cache-surf cache-surf?

Enables http-cache-surf ^0.13.0

http-cache-reqwest cache-reqwest?

Enables http-cache-reqwest ^0.14.0