[package]
edition = "2024"
name = "rstructor_derive"
version = "0.2.10"
authors = ["Clifton King <cliftonk@gmail.com>"]
build = false
exclude = [
"*.orig",
"*.bak",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for the rstructor library"
documentation = "https://docs.rs/rstructor_derive"
readme = false
keywords = [
"derive",
"json-schema",
"llm",
"pydantic",
"instructor",
]
categories = [
"development-tools::procedural-macro-helpers",
"api-bindings",
"parsing",
]
license = "MIT"
repository = "https://github.com/clifton/rstructor"
[lib]
name = "rstructor_derive"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "array_literal_tests"
path = "tests/array_literal_tests.rs"
[[test]]
name = "date_format_tests"
path = "tests/date_format_tests.rs"
[[test]]
name = "edge_cases_tests"
path = "tests/edge_cases_tests.rs"
[[test]]
name = "enum_date_format_tests"
path = "tests/enum_date_format_tests.rs"
[[test]]
name = "enum_with_data_tests"
path = "tests/enum_with_data_tests.rs"
[[test]]
name = "internally_tagged_tests"
path = "tests/internally_tagged_tests.rs"
[dependencies.proc-macro2]
version = "1.0.106"
[dependencies.quote]
version = "1.0.45"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.syn]
version = "2.0.117"
features = ["full"]
[dev-dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.uuid]
version = "1.23.1"
features = ["serde"]