-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
57 lines (50 loc) · 1.68 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "tame-oauth"
version = "0.10.0"
authors = [
"Embark <[email protected]>",
"Jake Shadle <[email protected]>",
]
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"