# 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 = "2024"
rust-version = "1.85"
name = "bsql-macros"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros for bsql — compile-time safe SQL for Rust"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/smir-ant/bsql"
resolver = "2"

[features]
chrono = []
decimal = []
default = []
explain = []
time = []
tls = [
    "dep:tokio-postgres-rustls",
    "dep:rustls",
    "dep:webpki-roots",
]
uuid = []

[lib]
name = "bsql_macros"
path = "src/lib.rs"
proc-macro = true

[dependencies.bitcode]
version = "0.6.9"
features = ["derive"]

[dependencies.bsql-core]
version = "0.8.0"

[dependencies.postgres-types]
version = "0.2.13"
default-features = false

[dependencies.proc-macro2]
version = "1.0.106"

[dependencies.quote]
version = "1.0.45"

[dependencies.rustls]
version = "0.23.37"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

[dependencies.smallvec]
version = "1"
default-features = false

[dependencies.syn]
version = "2.0.117"
features = [
    "full",
    "parsing",
    "printing",
]
default-features = false

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
default-features = false

[dependencies.tokio-postgres]
version = "0.7.17"
features = ["runtime"]
default-features = false

[dependencies.tokio-postgres-rustls]
version = "0.13.0"
optional = true
default-features = false

[dependencies.webpki-roots]
version = "1.0.6"
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "3"
