[package]
edition = "2024"
name = "postgres_to_polars"
version = "0.7.2"
authors = ["Christophe Sonneville <christophe@swappy.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for direct and performant conversion of PostgreSQL data to Polars dataframes."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/krikristoophe/postgres_to_polars"
[features]
default = ["execution"]
execution = [
"dep:polars",
"dep:bb8",
]
[lib]
name = "postgres_to_polars"
path = "src/lib.rs"
[[bin]]
name = "postgres_to_polars"
path = "bin/test.rs"
required-features = ["execution"]
[[test]]
name = "load"
path = "tests/load.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[dependencies.bb8]
version = "0.9.0"
optional = true
[dependencies.byteorder]
version = "1.5.0"
[dependencies.bytes]
version = "1.10.1"
[dependencies.chrono]
version = "0.4.41"
[dependencies.fallible-iterator]
version = "0.2.0"
[dependencies.md5]
version = "0.8.0"
[dependencies.nanoid]
version = "0.4.0"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.polars]
version = "0.53.0"
features = ["dtype-datetime"]
optional = true
default-features = false
[dependencies.postgres-protocol]
version = "0.6.9"
[dependencies.slice]
version = "0.0.4"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.47.1"
features = [
"full",
"net",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]