-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
52 lines (43 loc) · 1.21 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
[workspace]
members = ["pgrx-tests"]
[package]
name = "pg_session_jwt"
version = "0.1.2"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_pg_session_jwt"
path = "./src/bin/pgrx_embed.rs"
[features]
default = ["pg17"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14" ]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15" ]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
pg_test = []
[dependencies]
base64ct = { version = "1.6.0", features = ["std"] }
heapless = { version = "0.8.0", features = ["serde"] }
jose-jwk = { version = "0.1.2", default-features = false, features = ["p256"] }
p256 = { version = "0.13.2", default-features = false, features = ["sha2", "sha256", "ecdsa", "digest", "serde", "jwk"] }
pgrx = "0.12.6"
serde = { version = "1.0.203", features = ["derive"], default-features = false }
serde_json = { version = "1.0.117", default-features = false }
[dev-dependencies]
eyre = "0.6.12"
libtest-mimic = "0.8.1"
pgrx-tests = { path = "./pgrx-tests" }
postgres = "0.19.9"
rand = "0.8"
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1
[[test]]
name = "tests"
harness = false
path = "tests/pg_session_jwt.rs"