tame-oauth 0.10.0

A (very) simple oauth 2.0 library
Documentation
[package]
name = "tame-oauth"
version = "0.10.0"
authors = [
    "Embark <opensource@embark-studios.com>",
    "Jake Shadle <jake.shadle@embark-studios.com>",
]
edition = "2018"
description = "A (very) simple oauth 2.0 library"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/tame-oauth"
homepage = "https://github.com/EmbarkStudios/tame-oauth"
repository = "https://github.com/EmbarkStudios/tame-oauth"
keywords = ["oauth", "tame", "sans-io", "gcp"]
categories = ["authentication"]
readme = "README.md"

[badges]
maintenance = { status = "actively-developed" }

[lib]
doctest = false
path = "src/lib.rs"

[features]
# 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
default = ["gcp"]
# Supports for GCP oauth2
gcp = ["jwt", "url"]
# Support for Json Web Tokens, ring is used for signing
jwt = ["ring"]
# 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)
wasm-web = ["ring/wasm32_unknown_unknown_js"]

[dependencies]
data-encoding = "2.4"
http = "1.1"
ring = { version = "0.17", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
twox-hash = { version = "1.5.0", default-features = false }
url = { version = "2.2", optional = true }

[dev-dependencies.reqwest]
version = "0.12"
default-features = false
features = ["rustls-tls"]

[dev-dependencies.tokio]
version = "1.0"
features = ["macros", "rt-multi-thread"]

[dev-dependencies.bytes]
version = "1.4"