[package]
edition = "2021"
name = "uf-valence-backend-postgres"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres DatabaseBackend adapter for Valence"
homepage = "https://github.com/unified-field-dev/valence"
documentation = "https://docs.rs/uf-valence-backend-postgres"
readme = "README.md"
keywords = [
"orm",
"postgres",
"database",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/unified-field-dev/valence"
[lib]
name = "valence_backend_postgres"
path = "src/lib.rs"
[[test]]
name = "backend_contract"
path = "tests/backend_contract.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"json",
]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
]
[dependencies.valence-backend-sql]
version = "0.1.1"
package = "uf-valence-backend-sql"
[dependencies.valence-core]
version = "0.1.1"
package = "uf-valence-core"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"rt-multi-thread",
"macros",
]
[lints.clippy]
assigning_clones = "allow"
await_holding_lock = "allow"
branches_sharing_code = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "allow"
cognitive_complexity = "allow"
derivable_impls = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
format_push_string = "allow"
future_not_send = "allow"
if_not_else = "allow"
if_same_then_else = "allow"
items_after_statements = "allow"
len_without_is_empty = "allow"
manual_inspect = "allow"
manual_let_else = "allow"
manual_strip = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_single_binding = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
ptr_arg = "allow"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
redundant_pattern_matching = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
result_map_or_into_option = "allow"
return_self_not_must_use = "allow"
search_is_some = "allow"
semicolon_if_nothing_returned = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unnecessary_get_then_check = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unused_peekable = "allow"
use_self = "allow"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "allow"
unused_imports = "allow"
[lints.rustdoc]
broken_intra_doc_links = "warn"