This repository was archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (46 loc) · 1.41 KB
/
Cargo.toml
File metadata and controls
55 lines (46 loc) · 1.41 KB
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
[workspace]
members = ["test-common", "e2e", "sql-tests", "gendoc", "pgtap-parse"]
[package]
name = "promscale"
version = "0.8.1-dev"
edition = "2018"
[lib]
crate-type = ["cdylib"]
[profile.release]
panic = "unwind" # Ensures that we don't abort a Postgres process
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1
[profile.dev]
panic = "unwind"
# It's currently broken on Apple Silicon. Nightly seems to include a fix.
# If your tests fail with SIGSEGV try and use 1.64 or nightly.
# Finally, we can just comment it out because it no longer serves as
# a workaround for another issue https://github.com/tcdi/pgx/pull/208
# lto = "thin"
[features]
default = ["pg15", "serde_json", "proptest"] # used by rust-analyzer in VSCode
pg12 = ["pgx/pg12", "pgx-tests/pg12"]
pg13 = ["pgx/pg13", "pgx-tests/pg13"]
pg14 = ["pgx/pg14", "pgx-tests/pg14"]
pg15 = ["pgx/pg15", "pgx-tests/pg15"]
pg_test = ["serde_json", "proptest"]
[dependencies]
bincode = "1.3.3"
num_cpus = "1.13.1"
pgx = "0.6.1"
pgx-macros = "0.6.1"
proptest = { version = "1.0.0", optional = true }
regex = "1.5.6"
sha2 = "0.10.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.89", optional = true }
uluru = "3.0.0"
[build-dependencies]
askama = "0.11.1"
[dev-dependencies]
pgx-tests = "0.6.1"
# from e2e workspace
test-generator = { git = "https://github.com/JamesGuthrie/test-generator" }
test-common = { path = "./test-common" }