-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
42 lines (35 loc) · 953 Bytes
/
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
[package]
name = "prometheus_fdw"
version = "0.2.1"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_prometheus_fdw"
path = "./src/bin/pgrx_embed.rs"
[features]
default = ["pg17"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14", "supabase-wrappers/pg14"]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15", "supabase-wrappers/pg15"]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16", "supabase-wrappers/pg16"]
pg17 = ["pgrx/pg17", "pgrx-tests/pg17", "supabase-wrappers/pg17"]
pg_test = []
[dependencies]
chrono = "0.4.39"
pgrx = "0.12.6"
reqwest = "0.11.27"
reqwest-middleware = "0.2.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
supabase-wrappers = { version = "0.1.20", default-features = false }
tokio = { version = "1", features = ["full"] }
urlencoding = "2.1.3"
[dev-dependencies]
pgrx-tests = "0.12.6"
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1