halephant-core 0.6.0

A proxy and pooler for Postgres
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 = "halephant-core"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A proxy and pooler for Postgres"
readme = false
license = "Apache-2.0"
repository = "https://github.com/tunnelworks/halephant"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "json",
    "tokio",
    "tracing",
]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.11"

[dependencies.chumsky]
version = "1.0.0-alpha.8"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.humantime-serde]
version = "1.1.1"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.opentelemetry]
version = "0.31"
features = [
    "trace",
    "metrics",
    "logs",
]
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.6"

[dependencies.sql_lexer]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.tinyscram]
version = "0.1"

[dependencies.tokio]
version = "1.50"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.toml]
version = "0.8"
features = ["parse"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dependencies.utoipa-scalar]
version = "0.3"
features = ["axum"]

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.pbkdf2]
version = "0.12"

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

[lints.clippy]
await_holding_lock = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
exit = "warn"
items_after_statements = "allow"
large_futures = "warn"
mem_forget = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
similar_names = "allow"
str_to_string = "warn"
todo = "warn"
too_many_lines = "allow"
unwrap_used = "warn"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"