-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathCargo.toml
64 lines (56 loc) · 1.72 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
58
59
60
61
62
63
64
[package]
name = "gel-jwt"
license = "MIT/Apache-2.0"
version = "0.1.2"
authors = ["MagicStack Inc. <[email protected]>"]
edition = "2021"
description = """
JWT implementation for the Gel database.
"""
readme = "README.md"
rust-version.workspace = true
[features]
default = []
gel = ["dep:uuid", "dep:tracing"]
python_extension = ["pyo3/extension-module", "gel", "dep:tracing", "keygen"]
keygen = ["dep:rsa", "dep:rand"]
[dependencies]
pyo3 = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
uuid = { version = "1", features = ["v4", "serde"], optional = true }
# This is required to be in sync w/the rsa crate for now
rand = { version = "0.8.5", optional = true }
rsa = { version = "0.9.8", default-features = false, features = ["std"], optional = true }
sha2 = "0.10.8"
base64 = "0.22"
thiserror = "2"
hmac = "0.12.1"
derive_more = { version = "2", features = ["debug", "from", "display"] }
rustls-pki-types = "1"
serde = "1"
serde_derive = "1"
serde_json = "1"
jsonwebtoken = { version = "9", default-features = false }
ring = { version = "0.17", default-features = false }
pkcs1 = "0.7.5"
pkcs8 = "0.10.2"
sec1 = { version = "0.7.3", features = ["der", "pkcs8", "alloc"] }
pem = "3"
const-oid = { version = "0.9.6", features = ["db"] }
p256 = { version = "0.13.2", features = ["jwk"] }
base64ct = { version = "1", features = ["alloc"] }
der = "0.7.9"
libc = "0.2"
elliptic-curve = { version = "0.13.8", features = ["arithmetic"] }
num-bigint-dig = "0.8.4"
zeroize = { version = "1", features = ["derive", "serde"] }
[dev-dependencies]
pretty_assertions = "1"
rstest = "0.25"
hex-literal = "0.4.1"
divan = "0.1.17"
gel-jwt = { path = ".", features = ["gel", "keygen"] }
[[bench]]
name = "encode"
harness = false
[lib]