[package]
edition = "2021"
rust-version = "1.85"
name = "rustvello-postgres"
version = "0.1.5"
authors = ["Luis Diaz <code.luis.diaz@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL backend implementations for Rustvello"
homepage = "https://pynenc.org"
readme = false
license = "MIT"
repository = "https://github.com/pynenc/rustvello"
[features]
tls = [
"postgres-native-tls",
"native-tls",
]
[lib]
name = "rustvello_postgres"
path = "src/lib.rs"
[[test]]
name = "suite"
path = "tests/suite.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.deadpool-postgres]
version = "0.14"
[dependencies.native-tls]
version = "0.2"
optional = true
[dependencies.postgres-native-tls]
version = "0.5"
optional = true
[dependencies.rustvello-core]
version = "0.1.5"
[dependencies.rustvello-proto]
version = "0.1.5"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
features = [
"with-serde_json-1",
"with-chrono-0_4",
]
[dev-dependencies.rustvello-test-suite]
version = "0.1.5"
[dev-dependencies.testcontainers]
version = "0.23"
[dev-dependencies.testcontainers-modules]
version = "0.11"
features = [
"redis",
"mongo",
"postgres",
"rabbitmq",
]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
"macros",
]
[lints.clippy]
clone_on_ref_ptr = "warn"
map_unwrap_or = "warn"
module_name_repetitions = "allow"
redundant_closure_for_method_calls = "warn"
unnecessary_wraps = "warn"
wildcard_imports = "warn"
[lints.rust]
unsafe_code = "deny"