[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.syn]
features = ["full", "extra-traits"]
version = "2.0"
[dev-dependencies.domainstack]
features = ["regex"]
version = "1.0.1"
[dev-dependencies.domainstack-schema]
version = "1.0.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.trybuild]
version = "1.0"
[features]
schema = []
serde = ["dep:serde"]
[lib]
name = "domainstack_derive"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Dayna Blackwell <blackwellsystems@protonmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::procedural-macro-helpers", "data-structures"]
description = "Derive macros for domainstack: #[derive(Validate, ToSchema, ToJsonSchema)] - validation + auto-generate OpenAPI/JSON Schema"
documentation = "https://docs.rs/domainstack-derive"
edition = "2021"
keywords = ["validation", "derive", "macro", "ddd", "dto"]
license = "MIT OR Apache-2.0"
name = "domainstack-derive"
readme = "README.md"
repository = "https://github.com/blackwell-systems/domainstack"
rust-version = "1.76"
version = "1.1.1"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "collections"
path = "tests/collections.rs"
[[test]]
name = "cross_field"
path = "tests/cross_field.rs"
[[test]]
name = "custom"
path = "tests/custom.rs"
[[test]]
name = "json_schema_derive"
path = "tests/json_schema_derive.rs"
[[test]]
name = "nested"
path = "tests/nested.rs"
[[test]]
name = "schema_derive"
path = "tests/schema_derive.rs"
[[test]]
name = "serde_integration"
path = "tests/serde_integration.rs"
[[test]]
name = "tuple_and_enum"
path = "tests/tuple_and_enum.rs"
[[test]]
name = "validate_toschema_unified"
path = "tests/validate_toschema_unified.rs"