[package]
edition = "2021"
rust-version = "1.89"
name = "oxisql-postgres"
version = "0.4.1"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust PostgreSQL backend for OxiSQL via tokio-postgres + OxiTLS (no libpq, no OpenSSL)"
readme = "README.md"
keywords = [
"database",
"postgresql",
"pure-rust",
"cooljapan",
"oxisql",
]
categories = [
"database",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxisql"
[features]
default = []
integration-postgres = []
replication = [
"dep:postgres-protocol",
"dep:fallible-iterator-02",
]
[lib]
name = "oxisql_postgres"
path = "src/lib.rs"
[[example]]
name = "postgres_quickstart"
path = "examples/postgres_quickstart.rs"
[[test]]
name = "connect"
path = "tests/connect.rs"
[[test]]
name = "copy"
path = "tests/copy.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "notify"
path = "tests/notify.rs"
[[test]]
name = "prepared"
path = "tests/prepared.rs"
[[test]]
name = "replication"
path = "tests/replication.rs"
[[test]]
name = "server_version"
path = "tests/server_version.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[bench]]
name = "postgres_benchmarks"
path = "benches/postgres_benchmarks.rs"
harness = false
[dependencies.async-trait]
version = "0.1.89"
[dependencies.bytes]
version = "1"
[dependencies.fallible-iterator-02]
version = "0.2"
optional = true
package = "fallible-iterator"
[dependencies.futures]
version = "0.3"
[dependencies.oxisql-core]
version = "0.4.1"
[dependencies.oxisql-parse]
version = "0.4.1"
[dependencies.oxitls]
version = "0.3.0"
features = [
"pure",
"webpki-roots",
]
default-features = false
[dependencies.postgres-protocol]
version = "0.6.12"
optional = true
[dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
]
default-features = false
[dependencies.rustls-pemfile]
version = "2"
[dependencies.rustls-pki-types]
version = "1"
[dependencies.time]
version = "0.3.53"
features = [
"std",
"formatting",
"macros",
]
default-features = false
[dependencies.tokio]
version = "1.52.3"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.tokio-postgres]
version = "0.7.18"
features = [
"runtime",
"with-time-0_3",
"with-uuid-1",
]
default-features = false
[dependencies.tokio-postgres-rustls]
version = "0.14.0"
default-features = false
[dependencies.tokio-rustls]
version = "0.26"
features = ["tls12"]
default-features = false
[dependencies.uuid]
version = "1.23.4"
[dev-dependencies.criterion]
version = "0.8.2"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.deadpool-postgres]
version = "0.14.1"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]