# 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.96"
name = "entity-derive-impl"
version = "0.20.0"
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal proc-macro implementation for entity-derive. Use entity-derive instead."
documentation = "https://docs.rs/entity-derive-impl"
readme = "README.md"
keywords = [
    "derive",
    "macro",
    "entity",
    "internal",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT"
repository = "https://github.com/RAprogramm/entity-derive"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
aggregate_root = []
commands = []
default = [
    "events",
    "commands",
    "hooks",
    "transactions",
    "aggregate_root",
    "migrations",
    "projections",
]
events = []
hooks = []
migrations = []
projections = []
transactions = []

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

[dependencies.convert_case]
version = "0.11"

[dependencies.darling]
version = "0.23"

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

[dependencies.quote]
version = "1"

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

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

[dev-dependencies.async-trait]
version = "0.1"

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

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

[dev-dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "postgres",
    "uuid",
    "chrono",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

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

[dev-dependencies.utoipa]
version = "5"
features = [
    "chrono",
    "uuid",
]

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

[dev-dependencies.validator]
version = "0.20"
features = ["derive"]
