# 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 = "sntl-macros"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for Sentinel ORM — #[derive(Model)], #[derive(Partial)]"
readme = "README.md"
keywords = [
    "orm",
    "postgresql",
    "derive",
    "macros",
    "compile-time",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cntm-labs/sentinel"
resolver = "2"

[features]
trybuild_fixtures = []

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

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

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

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

[dependencies.darling]
version = "0.20"

[dependencies.proc-macro-error2]
version = "2"

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

[dependencies.quote]
version = "1"

[dependencies.sntl-schema]
version = "0.1.0"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]

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

[dev-dependencies.sentinel-driver]
version = "3.0.0"

[dev-dependencies.sntl]
version = "0.1.0"

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

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

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