Cargo Features

[dependencies]
tame-oauth = { version = "0.10.0", default-features = false, features = ["gcp", "jwt", "wasm-web"] }
default = gcp

This library was first created to support GCP oauth, if we add support for other oauth providers this will most likely change to not have any default features

gcp default = jwt, url

Supports for GCP oauth2

Affects tame-oauth::gcp

jwt gcp = ring

Support for Json Web Tokens, ring is used for signing

wasm-web

This enables features in chrono and ring that are necessary to use this library in a wasm32 web (browser) context. If you are using wasm outside the browser you will need to target wasm32-wasi for the requisite functionality (time and random)

Enables wasm32_unknown_unknown_js of ring

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.

ring jwt? wasm-web?
url gcp