fraiseql-db 2.1.5

Database abstraction layer for FraiseQL v2
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"
rust-version = "1.92"
name = "fraiseql-db"
version = "2.1.5"
authors = ["FraiseQL Team <team@fraiseql.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database abstraction layer for FraiseQL v2"
homepage = "https://fraiseql.dev"
documentation = "https://docs.fraiseql.dev"
readme = "README.md"
keywords = [
    "graphql",
    "database",
    "compiler",
    "sql",
]
categories = [
    "database",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fraiseql/fraiseql"

[features]
default = ["postgres"]
grpc = []
mysql = ["sqlx/mysql"]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool",
    "dep:deadpool-postgres",
]
rich-filters = []
sqlite = ["sqlx/sqlite"]
sqlserver = [
    "tiberius",
    "bb8",
    "bb8-tiberius",
]
test-mysql = ["mysql"]
test-postgres = []
test-sqlserver = ["sqlserver"]
wire-backend = ["fraiseql-wire"]

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

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

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

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

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

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

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

[[bench]]
name = "sql_generation_bench"
path = "benches/sql_generation_bench.rs"
harness = false

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

[dependencies.bb8]
version = "0.8"
optional = true

[dependencies.bb8-tiberius]
version = "0.15"
optional = true

[dependencies.bytes]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6.0"

[dependencies.deadpool]
version = "0.12"
optional = true

[dependencies.deadpool-postgres]
version = "0.14"
optional = true

[dependencies.fraiseql-error]
version = "2.1.5"
default-features = false

[dependencies.fraiseql-wire]
version = "2.1.5"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "json",
]
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tiberius]
version = "0.12"
features = [
    "tds73",
    "native-tls",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "io-util",
    "io-std",
    "sync",
    "signal",
    "fs",
]

[dependencies.tokio-postgres]
version = "0.7"
features = [
    "with-serde_json-1",
    "with-uuid-1",
    "with-chrono-0_4",
    "with-serde_json-1",
]
optional = true

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.21"
features = [
    "v4",
    "serde",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.38"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.serde_json]
version = "1.0"

[lints.clippy]
cargo_common_metadata = "allow"
if_not_else = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_enumerate_index = "allow"
unused_self = "allow"
unwrap_used = "deny"
use_self = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unsafe_code = "forbid"
unused_imports = "warn"
unused_variables = "warn"