pg_stream 0.2.0

A low-level, zero-overhead Rust implementation of the Postgres wire protocol.
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 = "pg_stream"
version = "0.2.0"
authors = ["Taylor Neely <tneely417@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A low-level, zero-overhead Rust implementation of the Postgres wire protocol."
readme = "README.md"
keywords = ["postgresql"]
categories = ["database"]
license-file = "LICENSE"
repository = "https://github.com/tneely/pg_stream"

[features]
async = ["dep:tokio"]
default = [
    "async",
    "startup",
]
startup = [
    "async",
    "dep:aws-lc-rs",
    "dep:base64",
    "dep:md5",
]
sync = []

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

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

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

[dependencies.aws-lc-rs]
version = "1.16.1"
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.bytes]
version = "1.11"

[dependencies.md5]
version = "0.7"
optional = true

[dependencies.tokio]
version = "1.49"
features = ["io-util"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0"

[dev-dependencies.ctor]
version = "0"

[dev-dependencies.postgresql_commands]
version = "0"

[dev-dependencies.postgresql_embedded]
version = "0"
features = [
    "tokio",
    "rustls",
]

[dev-dependencies.rustls]
version = "0"
features = ["aws-lc-rs"]

[dev-dependencies.tempfile]
version = "3"

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

[dev-dependencies.tokio-rustls]
version = "0"
features = ["aws-lc-rs"]