toolu-orm-query 0.2.0

Type-safe query builders for toolu-orm
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 = "toolu-orm-query"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe query builders for toolu-orm"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Falconiere/toolu-orm"

[features]
default = []
libsql = [
    "dep:libsql",
    "dep:tokio",
    "toolu-orm-core/libsql",
]
postgres = [
    "dep:tokio-postgres",
    "dep:tokio",
    "toolu-orm-core/postgres",
]
rusqlite = [
    "dep:rusqlite",
    "toolu-orm-core/rusqlite",
]

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

[[test]]
name = "delete_test"
path = "tests/delete_test.rs"

[[test]]
name = "insert_test"
path = "tests/insert_test.rs"

[[test]]
name = "update_test"
path = "tests/update_test.rs"

[[test]]
name = "tuple_append_test"
path = "tests/tuple_append_test.rs"

[[test]]
name = "relational_test"
path = "tests/relational_test.rs"

[[test]]
name = "relational_builder_test"
path = "tests/relational_builder_test.rs"

[[test]]
name = "relational_execute_test"
path = "tests/relational_execute_test.rs"

[[test]]
name = "relational_query_builder_test"
path = "tests/relational_query_builder_test.rs"

[[test]]
name = "relational_sqlite_sql_test"
path = "tests/relational_sqlite_sql_test.rs"

[[test]]
name = "relational_postgres_sql_test"
path = "tests/relational_postgres_sql_test.rs"

[[test]]
name = "select_test"
path = "tests/select_test/main.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test/mod.rs"
required-features = ["libsql"]

[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
required-features = ["libsql"]

[[test]]
name = "executor_test"
path = "tests/executor_test.rs"
required-features = ["libsql"]

[[test]]
name = "libsql_mutations_test"
path = "tests/libsql_mutations_test.rs"
required-features = ["libsql"]

[[test]]
name = "libsql_reads_test"
path = "tests/libsql_reads_test.rs"
required-features = ["libsql"]

[[test]]
name = "libsql_relational_test"
path = "tests/libsql_relational_test.rs"
required-features = ["libsql"]

[[test]]
name = "libsql_derived_from_row_test"
path = "tests/libsql_derived_from_row_test.rs"
required-features = ["libsql"]

[[test]]
name = "rusqlite_derived_from_row_test"
path = "tests/rusqlite_derived_from_row_test.rs"
required-features = ["rusqlite"]

[[test]]
name = "rusqlite_mutations_test"
path = "tests/rusqlite_mutations_test.rs"
required-features = ["rusqlite"]

[[test]]
name = "rusqlite_reads_test"
path = "tests/rusqlite_reads_test.rs"
required-features = ["rusqlite"]

[[test]]
name = "rusqlite_relational_test"
path = "tests/rusqlite_relational_test.rs"
required-features = ["rusqlite"]

[[test]]
name = "postgres_mutations_test"
path = "tests/postgres_mutations_test.rs"
required-features = ["postgres"]

[[test]]
name = "postgres_reads_test"
path = "tests/postgres_reads_test.rs"
required-features = ["postgres"]

[[test]]
name = "postgres_relational_test"
path = "tests/postgres_relational_test.rs"
required-features = ["postgres"]

[[test]]
name = "postgres_transaction_test"
path = "tests/postgres_transaction_test.rs"
required-features = ["postgres"]

[dependencies.async-trait]
version = "0.1"

[dependencies.libsql]
version = "0.9"
features = ["core"]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["sync"]
optional = true

[dependencies.tokio-postgres]
version = "0.7"
optional = true

[dependencies.toolu-orm-core]
version = "0.2.0"
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dev-dependencies.tokio-postgres]
version = "0.7"
features = [
    "with-uuid-1",
    "with-serde_json-1",
]

[lints.clippy]
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
checked_conversions = "deny"
clone_on_ref_ptr = "deny"
cloned_instead_of_copied = "deny"
cognitive_complexity = "deny"
disallowed_methods = "deny"
expect_used = "deny"
flat_map_option = "deny"
fn_params_excessive_bools = "deny"
if_not_else = "warn"
implicit_clone = "deny"
indexing_slicing = "deny"
large_types_passed_by_value = "deny"
lossy_float_literal = "deny"
manual_let_else = "deny"
map_err_ignore = "deny"
match_same_arms = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
needless_pass_by_value = "deny"
panic = "deny"
redundant_clone = "deny"
redundant_else = "warn"
result_large_err = "deny"
similar_names = "warn"
single_match_else = "deny"
str_to_string = "deny"
struct_excessive_bools = "deny"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
trivially_copy_pass_by_ref = "deny"
unimplemented = "deny"
unnecessary_wraps = "deny"
unreachable = "deny"
unwrap_used = "deny"
verbose_file_reads = "deny"
wildcard_enum_match_arm = "deny"

[lints.rust]
deprecated = "deny"
unsafe_code = "deny"
unused_imports = "deny"
unused_must_use = "deny"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1