# 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.77" name = "libpq" version = "4.1.0" authors = ["Sanpi "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe binding for libpq" readme = "README.md" keywords = [ "database", "postgres", "postgresql", "sql", ] categories = ["database"] license = "MIT" repository = "https://github.com/sanpii/libpq.rs" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "libpq" path = "src/lib.rs" [[example]] name = "testlibpq" path = "examples/testlibpq.rs" doc-scrape-examples = true [[example]] name = "testlibpq2" path = "examples/testlibpq2.rs" doc-scrape-examples = true [[example]] name = "testlibpq3" path = "examples/testlibpq3.rs" doc-scrape-examples = true [[example]] name = "testlibpq4" path = "examples/testlibpq4.rs" doc-scrape-examples = true [[example]] name = "testlo" path = "examples/testlo.rs" doc-scrape-examples = true [[example]] name = "testlo64" path = "examples/testlo64.rs" doc-scrape-examples = true [dependencies.bitflags] version = "2.0" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.pq-sys] version = "0.8" package = "libpq-sys" [dependencies.thiserror] version = "1.0" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.mio] version = "1.0" features = [ "os-ext", "os-poll", ] [features] default = [] v11 = [] v12 = ["v11"] v13 = ["v12"] v14 = ["v13"] v15 = ["v14"] v16 = ["v15"]