[dependencies.entity-core]
version = "0.1.2"
[dependencies.entity-derive-impl]
version = "0.1.2"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.chrono]
features = ["serde"]
version = "0.4"
[dev-dependencies.serde]
features = ["derive"]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sqlx]
features = ["runtime-tokio", "postgres", "uuid", "chrono"]
version = "0.8"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[dev-dependencies.trybuild]
version = "1"
[dev-dependencies.utoipa]
features = ["chrono", "uuid"]
version = "5"
[dev-dependencies.uuid]
features = ["v4", "v7", "serde"]
version = "1"
[dev-dependencies.validator]
features = ["derive"]
version = "0.20"
[features]
api = []
clickhouse = ["entity-core/clickhouse"]
default = ["postgres"]
mongodb = ["entity-core/mongodb"]
postgres = ["entity-core/postgres"]
streams = ["entity-core/streams"]
validate = []
[lib]
name = "entity_derive"
path = "src/lib.rs"
[package]
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::procedural-macro-helpers", "database"]
description = "Derive macro for generating DTOs, repositories, and SQL from a single entity definition"
documentation = "https://docs.rs/entity-derive"
edition = "2024"
keywords = ["derive", "macro", "entity", "dto", "repository"]
license = "MIT"
name = "entity-derive"
readme = "README.md"
repository = "https://github.com/RAprogramm/entity-derive"
rust-version = "1.92"
version = "0.3.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "streams"
path = "tests/streams.rs"