-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathCargo.toml
37 lines (30 loc) · 861 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
[package]
name = "pq-sys"
version = "0.7.0"
description = "Auto-generated rust bindings for libpq"
license = "MIT OR Apache-2.0"
repository = "https://github.com/sgrif/pq-sys"
links = "pq"
build = "build.rs"
edition = "2021"
rust-version = "1.82.0"
[workspace]
members = ["pq-src"]
[lib]
name = "pq_sys"
[dependencies]
pq-src = { path = "pq-src", version = ">=0.2, <0.4", optional = true , default-features = false }
libc = "0.2.100"
[build-dependencies]
pkg-config = { version = "0.3.0", optional = true }
bindgen = { version = "0.71.0", optional = true }
[target.'cfg(target_env = "msvc")'.build-dependencies]
vcpkg = "0.2.6"
[dev-dependencies]
similar-asserts = "1.6.0"
bindgen = "0.71.0"
[features]
default = []
bundled = ["bundled_without_openssl", "pq-src/with-openssl"]
bundled_without_openssl = ["dep:pq-src"]
buildtime_bindgen = ["dep:bindgen"]