forked from tembo-io/pgmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (47 loc) · 1.11 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
[package]
name = "pgmq"
version = "1.1.1"
edition = "2021"
authors = ["Tembo.io"]
description = "Postgres extension for PGMQ"
homepage = "https://www.tembo.io"
license = "MIT"
readme = "README.md"
repository = "https://github.com/tembo-io/pgmq/"
publish = false
[lib]
crate-type = ["cdylib"]
[features]
default = ["pg16"]
pg11 = ["pgrx/pg11", "pgrx-tests/pg11"]
pg12 = ["pgrx/pg12", "pgrx-tests/pg12"]
pg13 = ["pgrx/pg13", "pgrx-tests/pg13"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15"]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg_test = []
[dependencies]
pgrx = "0.11.3"
serde = "1.0.152"
pgmq_core = { package = "pgmq-core", path = "./core" }
serde_json = "1.0.91"
thiserror = "1.0.38"
[dev-dependencies]
pgrx-tests = "0.11.3"
chrono = { version = "0.4.23", features = ["serde"] }
rand = "0.8.5"
sqlx = { version = "0.7.2", features = [
"runtime-tokio-native-tls",
"postgres",
"chrono",
] }
tokio = { version = "1", features = ["macros"] }
whoami = "1.4.0"
[profile.dev]
panic = "unwind"
lto = "thin"
[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1