# 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 = "qusql-sqlx-type"
version = "0.4.0"
authors = ["Jakob Truelsen <antialize@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed sql macros for sqlx"
homepage = "https://github.com/antialize/qusql/"
readme = "README.md"
keywords = [
    "mysql",
    "sqlx",
    "typer",
]
license = "Apache-2.0"
repository = "https://github.com/antialize/qusql/"
resolver = "3"

[features]
json = ["dep:serde_json"]
uuid = ["dep:uuid"]

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

[dependencies.chrono]
version = "0.4"

[dependencies.qusql-sqlx-type-macro]
version = "0.4.0"

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sqlx]
version = "0.9"
default-features = false

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.sqlx]
version = "0.9"
features = [
    "chrono",
    "runtime-tokio",
    "mysql",
]
default-features = false

[lints.clippy]
missing_docs_in_private_items = "deny"
missing_safety_doc = "deny"
multiple_unsafe_ops_per_block = "deny"
undocumented_unsafe_blocks = "deny"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"

[lints.rust]
missing_docs = "deny"
