[workspace] members = ["codegen", "libpq-sys", "."] [package] name = "libpq" version = "4.1.0" authors = ["Sanpi "] edition = "2021" license = "MIT" repository = "https://github.com/sanpii/libpq.rs" description = "Safe binding for libpq" keywords = ["database", "postgres", "postgresql", "sql"] categories = ["database"] readme = "README.md" rust-version = "1.77" [dependencies] bitflags = "2.0" libc = "0.2" log = "0.4" thiserror = "1.0" [dependencies.pq-sys] package = "libpq-sys" path = "libpq-sys" version = "0.8" [dev-dependencies] env_logger = "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"] [[example]] name = "testlibpq" doc-scrape-examples = true [[example]] name = "testlibpq2" doc-scrape-examples = true [[example]] name = "testlibpq3" doc-scrape-examples = true [[example]] name = "testlibpq4" doc-scrape-examples = true [[example]] name = "testlo" doc-scrape-examples = true [[example]] name = "testlo64" doc-scrape-examples = true [package.metadata.docs.rs] all-features = true cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] rustdoc-args = ["--cfg", "docsrs"]