forked from pganalyze/pg_query.rs
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (45 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
51 lines (45 loc) · 1.43 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
[package]
name = "pg_query"
description = "PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree."
version = "6.1.1"
edition = "2021"
documentation = "https://docs.rs/pg_query"
license = "MIT"
repository = "https://github.com/pganalyze/pg_query.rs"
include = [
# pg_query.rs
"README.md", "build.rs", "src/**/*.rs",
# libpg_query
"Makefile", "pg_query.h",
"libpg_query/{src,vendor}/**/*.{c,h}",
"libpg_query/protobuf/pg_query.pb-c.{c,h}",
"libpg_query/protobuf/pg_query.proto",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
itertools = "0.10.3"
prost = { version = "0.13.5", features = ["no-recursion-limit"] }
serde = { version = "1.0.139", features = ["derive"] }
serde_json = "1.0.82"
stacker = "0.1"
thiserror = "1.0.31"
[build-dependencies]
bindgen = "0.66.1"
clippy = { version = "0.0.302", optional = true }
prost-build = "0.13.5"
fs_extra = "1.2.0"
cc = "1.0.83"
glob = "0.3.1"
[dev-dependencies]
brunch = "0.11"
easy-parallel = "3.2.0"
pretty_assertions = "1.4.0"
regex = "1.6.0"
[[bench]]
name = "parse_vs_summary"
harness = false
# Optimize build scripts even in debug mode to reduce stack usage.
# This is needed because bindgen uses deep recursion when processing
# PostgreSQL header files, which can overflow the stack on Windows.
[profile.dev.build-override]
opt-level = 2