File: Cargo.toml

package info (click to toggle)
rust-pq-sys 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: makefile: 2; ansic: 1
file content (69 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download
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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82.0"
name = "pq-sys"
version = "0.7.5"
build = "build.rs"
links = "pq"
include = [
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "src/**/*.rs",
    "build.rs",
    "bindings/**/*.rs",
    "wrapper.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto-generated rust bindings for libpq"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/sgrif/pq-sys"

[features]
buildtime_bindgen = ["dep:bindgen"]
default = ["pkg-config"]

[lib]
name = "pq_sys"
path = "src/lib.rs"

[dependencies.libc]
version = "0.2.100"

[dev-dependencies.bindgen]
version = "0.72.0"

[dev-dependencies.similar-asserts]
version = "1.6.0"

[build-dependencies.bindgen]
version = "0.72.0"
optional = true

[build-dependencies.pkg-config]
version = "0.3.0"
optional = true

[target.'cfg(target_env = "msvc")'.build-dependencies.vcpkg]
version = "0.2.6"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(buildscript_run)"]