[package]
edition = "2024"
rust-version = "1.85"
name = "sqlmodel-postgres"
version = "0.2.0"
authors = ["SQLModel Rust Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL driver for SQLModel Rust"
homepage = "https://github.com/sqlmodel/sqlmodel-rust"
documentation = "https://docs.rs/sqlmodel-postgres"
readme = "README.md"
keywords = [
"postgres",
"sql",
"database",
"driver",
"sqlmodel",
]
categories = [
"database",
"database-implementations",
]
license = "MIT"
repository = "https://github.com/sqlmodel/sqlmodel-rust"
resolver = "2"
[features]
console = ["dep:sqlmodel-console"]
default = []
tls = [
"dep:rustls",
"dep:webpki-roots",
]
[lib]
name = "sqlmodel_postgres"
path = "src/lib.rs"
[[test]]
name = "postgres_integration"
path = "tests/postgres_integration.rs"
[dependencies.asupersync]
version = "0.2.0"
[dependencies.base64]
version = "0.22"
[dependencies.hmac]
version = "0.12"
[dependencies.md5]
version = "0.7"
[dependencies.pbkdf2]
version = "0.12"
[dependencies.rand]
version = "0.8"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
"ring",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlmodel-console]
version = "0.2.0"
optional = true
[dependencies.sqlmodel-core]
version = "0.2.0"
[dependencies.subtle]
version = "2.5"
[dependencies.webpki-roots]
version = "0.26"
optional = true
[dev-dependencies.sqlmodel-schema]
version = "0.2.0"
[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
format_push_string = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"