jsonforge 0.1.0

A Rust procedural macro for generating JSON schema validators from Rust types
Documentation
[package]
name = "jsonforge"
version = "0.1.0"
edition = "2024"
description = "A Rust procedural macro for generating JSON schema validators from Rust types"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/DevExzh/jsonforge"
authors = ["Ryker Zhu <ryker.zhu@outlook.com>"]
documentation = "https://docs.rs/jsonforge"
categories = ["development-tools::procedural-macro-helpers"]
exclude = [
    # Examples
    "examples/*",
    # Tests
    "tests/*",
    # Build artifacts
    "target/*",
    # CI/CD and development files
    ".github/*",
    ".git/*",
    ".gitignore",
]


[lib]
proc-macro = true

[features]
embedded = ["dep:phf_generator", "dep:phf_shared"]

[dependencies]
phf_generator = { version = "0.13", optional = true }
phf_shared = { version = "0.13", optional = true }
proc-macro2 = "1"
quote = "1"
serde_json = "1"
syn = { version = "2", features = ["full"] }

[dev-dependencies]
phf = "0.13.1"
serde_json = "1"