-
-
Notifications
You must be signed in to change notification settings - Fork 253
/
Cargo.toml
96 lines (89 loc) · 3.24 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
#LICENSE
#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
#LICENSE
#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
#LICENSE
#LICENSE All rights reserved.
#LICENSE
#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
[workspace]
resolver = "2"
members = [
"cargo-pgrx",
"pgrx",
"pgrx-macros",
"pgrx-pg-config",
"pgrx-pg-sys",
"pgrx-sql-entity-graph",
"pgrx-tests",
"pgrx-bindgen",
]
exclude = [
# "pgrx-examples/*",
"pgrx-examples/aggregate",
"pgrx-examples/arrays",
"pgrx-examples/bad_ideas",
"pgrx-examples/bgworker",
"pgrx-examples/bytea",
"pgrx-examples/composite_type",
"pgrx-examples/custom_libname",
"pgrx-examples/custom_types",
"pgrx-examples/custom_sql",
"pgrx-examples/datetime",
"pgrx-examples/wal_decoder",
"pgrx-examples/errors",
"pgrx-examples/nostd",
"pgrx-examples/numeric",
"pgrx-examples/pgtrybuilder",
"pgrx-examples/operators",
"pgrx-examples/range",
"pgrx-examples/schemas",
"pgrx-examples/shmem",
"pgrx-examples/spi",
"pgrx-examples/spi_srf",
"pgrx-examples/srf",
"pgrx-examples/strings",
"pgrx-examples/triggers",
"pgrx-examples/versioned_custom_libname_so",
"pgrx-examples/versioned_so",
]
[workspace.metadata.local-install]
cargo-pgrx = { path = "cargo-pgrx" }
[workspace.dependencies]
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.7" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.7" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.7" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.7" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.12.7" }
cargo_metadata = "0.18.0"
cargo-edit = "0.12.2" # format-preserving edits to cargo.toml
cargo_toml = "0.19" # used for building projects
clap-cargo = { version = "0.14.0", features = [ "cargo_metadata" ] }
eyre = "~0.6.12" # simplifies error-handling
libc = "0.2" # FFI compat
owo-colors = { version = "4.0", features = [ "supports-colors" ] } # for output highlighting
proc-macro2 = { version = "1.0.78", features = [ "span-locations" ] }
quote = "1.0.33"
regex = "1.1" # used for build/test
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
syn = { version = "2", features = [ "extra-traits", "full", "parsing" ] }
toml = "0.8" # our config files
toml_edit = "0.19.14" # format-preserving edits to toml files, used with cargo-edit
thiserror = "1"
unescape = "0.1.0" # for escaped-character-handling
url = "2.4.1" # the non-existent std::web
walkdir = "2" # directory recursion
[profile.dev]
# Only include line tables in debuginfo. This reduces the size of target/ (after
# running tests) by almost half, while keeping the part of debuginfo which
# people care about the most (the part used to produce backtraces). This seems
# like something we would generally want (when actually running in a debugger
# you can just comment out the line).
#
# That said, if it turns out to hurt development more than expected, we could
# move this to only toggle this in CI
debug = 'line-tables-only'
[profile.dev.build-override]
opt-level = 3