postgres_to_polars 1.0.2

Stream PostgreSQL query results directly into Polars DataFrames via sqlx.
Documentation
# 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 = "2024"
name = "postgres_to_polars"
version = "1.0.2"
authors = ["Christophe Sonneville <christophe@swappy.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stream PostgreSQL query results directly into Polars DataFrames via sqlx."
readme = "README.md"
keywords = [
    "polars",
    "postgresql",
    "sqlx",
    "dataframe",
]
categories = [
    "database",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/krikristoophe/postgres_to_polars"
resolver = "2"

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

[[test]]
name = "load"
path = "tests/load.rs"

[[test]]
name = "query"
path = "tests/query.rs"

[[test]]
name = "types"
path = "tests/types.rs"

[[bench]]
name = "query_bench"
path = "benches/query_bench.rs"
harness = false

[dependencies.chrono]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.polars]
version = "0.53.0"
features = [
    "dtype-date",
    "dtype-datetime",
    "dtype-time",
]
default-features = false

[dependencies.postgres_to_polars_derive]
version = "1.0.2"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "chrono",
]

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "migrate",
    "chrono",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]