turnloop-postgres 0.1.0-beta.2

Pull-driven sans-I/O PostgreSQL client 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"
rust-version = "1.97.1"
name = "turnloop-postgres"
version = "0.1.0-beta.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pull-driven sans-I/O PostgreSQL client protocol"
documentation = "https://docs.rs/turnloop-postgres"
readme = "README.md"
keywords = [
    "event-loop",
    "networking",
    "sans-io",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/PerryTS/turnloop"

[package.metadata.turnloop-ci]
role = "protocol"
wasi-tests = [
    "asynchronous",
    "protocol",
    "allocations",
]
wasi-p3-release-tests = [
    "asynchronous",
    "allocations",
]
wasi-integration-tests = ["async_server"]
integration-tests = [
    "server",
    "async_server",
]

[features]
turnloop = [
    "dep:turnloop-io",
    "dep:turnloop-tls",
]

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

[[example]]
name = "turnloop"
path = "examples/turnloop.rs"
required-features = ["turnloop"]

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

[[test]]
name = "async_server"
path = "tests/async_server.rs"
required-features = ["turnloop"]

[[test]]
name = "asynchronous"
path = "tests/asynchronous.rs"
required-features = ["turnloop"]

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

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

[dependencies.bytes]
version = "1.11"

[dependencies.postgres-protocol]
version = "0.6.12"

[dependencies.turnloop-io]
version = "0.1.0-beta.2"
optional = true

[dependencies.turnloop-tls]
version = "0.1.0-beta.2"
features = ["turnloop"]
optional = true

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.rcgen]
version = "0.13"
features = [
    "ring",
    "pem",
]
default-features = false

[dev-dependencies.sha2]
version = "0.11"

[dev-dependencies.turnloop-tls]
version = "0.1.0-beta.2"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.postgres-protocol]
version = "0.6.12"
features = ["js"]

[target.'cfg(all(target_os = "wasi", target_env = "p3"))'.dependencies.turnloop-io]
version = "0.1.0-beta.2"
features = ["wasi-p3-experimental"]
optional = true

[target.'cfg(all(target_os = "wasi", target_env = "p3"))'.dependencies.turnloop-wasi-random]
version = "0.1.0-beta.2"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(loom)",
    'cfg(turnloop_backend, values("kqueue", "epoll", "iocp", "wasi_p2", "wasi_p3", "web", "unsupported"))',
]