[package]
edition = "2024"
name = "sqlx-json"
version = "0.10.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database-agnostic row-to-JSON conversion for sqlx"
homepage = "https://dbmcp.haymon.ai"
readme = false
license = "MIT"
repository = "https://github.com/haymon-ai/dbmcp"
[lib]
name = "sqlx_json"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bigdecimal]
version = "0.4"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"runtime-tokio-rustls",
"mysql",
"postgres",
"sqlite",
"chrono",
"bigdecimal",
]
[lints.clippy]
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
struct_excessive_bools = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"