Cargo Features

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

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

client-surf default = surf
client-reqwest = 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?

Enables reqwest ^0.11.18

reqwest-middleware client-reqwest?

Enables reqwest-middleware ^0.2.2

http-cache-surf cache-surf?

Enables http-cache-surf ^0.11.2

http-cache-reqwest cache-reqwest?

Enables http-cache-reqwest ^0.11.1