# 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"
name = "elicit_sqlx"
version = "0.11.0"
authors = ["Erik Rose <erik.w.rose@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elicitation-enabled sqlx type wrappers — newtypes with JsonSchema and MCP reflect methods"
homepage = "https://github.com/crumplecup/elicitation"
documentation = "https://docs.rs/elicitation"
readme = "README.md"
keywords = [
    "mcp",
    "sqlx",
    "database",
    "elicitation",
    "jsonschema",
]
categories = [
    "database",
    "development-tools",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/crumplecup/elicitation"
resolver = "2"

[features]
api = []

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

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

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

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

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

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

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

[dependencies.derive-getters]
version = "0.5"

[dependencies.derive_more]
version = "2"
features = [
    "display",
    "error",
    "from",
    "deref",
    "deref_mut",
    "as_ref",
]

[dependencies.elicit_db]
version = "0.11.0"

[dependencies.elicitation]
version = "0.11.0"
features = [
    "sqlx-types",
    "emit",
]

[dependencies.elicitation_derive]
version = "0.11.0"

[dependencies.futures]
version = "0.3"

[dependencies.inventory]
version = "0.3"

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

[dependencies.quote]
version = "1"

[dependencies.rmcp]
version = "1.7"
features = [
    "client",
    "transport-io",
    "schemars",
    "elicitation",
]

[dependencies.schemars]
version = "1"
features = ["derive"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-native-tls",
    "any",
    "postgres",
    "sqlite",
    "mysql",
    "macros",
    "uuid",
    "chrono",
]

[dependencies.sqlx-core]
version = "0.8"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.dotenvy]
version = "0.15"

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(kani)",
    "cfg(creusot)",
    "cfg(prusti)",
    "cfg(verus)",
    'cfg(feature, values("emit"))',
]
