forked from mikkyang/rust-jwt
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
39 lines (35 loc) · 1.06 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
[package]
name = "jwt-next"
version = "0.17.0"
authors = ["Michael Yang <[email protected]>"]
description = "JSON Web Token library"
documentation = "https://docs.rs/jwt-next"
homepage = "https://github.com/scuffletv/rust-jwt"
repository = "https://github.com/scuffletv/rust-jwt"
readme = "README.md"
keywords = ["JWT", "token", "web"]
license = "MIT"
edition = "2021"
[features]
openssl = ["dep:openssl"]
openssl-vendored = ["openssl", "openssl/vendored"]
default = []
[dependencies]
base64 = "0.21"
crypto-common = "0.1"
digest = { version = "0.10", features = ["oid"] }
signature = { version = "2.2", features = ["digest"] }
hmac = { version = "0.12", features = ["reset"] }
sha2 = "0.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ecdsa = { version = "0.16", features = ["verifying", "signing"] }
rsa = { version = "0.9", features = ["sha2"] }
p256 = { version = "0.13", features = ["pem"] }
p384 = { version = "0.13", features = ["pem"] }
pem = "3.0"
[dependencies.openssl]
version = "0.10"
optional = true
[dev-dependencies]
doc-comment = "0.3"