uf-valence-backend-sql 0.1.2

Shared SQL helpers for Valence SQL backends (SQLite, 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 = "2021"
name = "uf-valence-backend-sql"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared SQL helpers for Valence SQL backends (SQLite, Postgres)"
homepage = "https://github.com/unified-field-dev/valence"
documentation = "https://docs.rs/uf-valence-backend-sql"
readme = "README.md"
keywords = [
    "orm",
    "sql",
    "database",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/unified-field-dev/valence"

[package.metadata.cargo-machete]
ignored = [
    "serde",
    "thiserror",
    "tokio",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
    "postgres",
    "json",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v5",
]

[dependencies.valence-core]
version = "0.1.2"
package = "uf-valence-core"

[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"