-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (38 loc) · 1.35 KB
/
Copy pathCargo.toml
File metadata and controls
41 lines (38 loc) · 1.35 KB
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
[package]
name = "okta-jwt-verifier"
description = "A helper library for working with JWT's for Okta in Rust"
version = "0.9.1"
authors = ["Christian Haynes <06chaynes@gmail.com>"]
repository = "https://github.com/06chaynes/okta-jwt-verifier.git"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["okta", "jwt"]
categories = [
"web-programming"
]
edition = "2021"
rust-version = "1.73.0"
[dependencies]
anyhow = "1.0.95"
jsonwebtoken = "9.3.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
surf = { version = "2.3.2", optional = true }
reqwest = { version = "0.12.12", default-features = false, features = ["json"], optional = true }
reqwest-middleware = { version = "0.4.0", optional = true }
http-cache-surf = { version = "0.14.1", optional = true }
http-cache-reqwest = { version = "0.15.1", optional = true }
[dev-dependencies]
async-trait = "0.1.86"
async-std = { version = "1.13.0", features = ["attributes"] }
jwt-simple = { version = "0.12.11", default-features = false, features = ["pure-rust"] }
mockito = "1.6.1"
tide = "0.16.0"
tide-http-auth = "0.5.0"
tokio = { version = "1.43.0", features = [ "macros", "rt", "rt-multi-thread" ] }
[features]
default = ["client-reqwest"]
client-surf = ["surf"]
client-reqwest = ["reqwest", "reqwest-middleware"]
cache-surf = ["http-cache-surf"]
cache-reqwest = ["http-cache-reqwest"]