enum2schema 0.1.0

enum2schema is a rust derive macro that emits a JSON Schema describing a rust type, including doc-comment descriptions, externally tagged enum variants, and field types.
Documentation
# 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"
name = "enum2schema"
version = "0.1.0"
authors = ["Matthew Berger <matthewjordanberger@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
enum2schema is a rust derive macro that emits a JSON Schema describing a rust type, including doc-comment descriptions, externally tagged enum variants, and field types.
"""
homepage = "https://github.com/matthewjberger/enum2schema"
documentation = "https://docs.rs/enum2schema"
readme = "README.md"
keywords = [
    "enum",
    "macro",
    "schema",
    "json-schema",
]
categories = [
    "encoding",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/matthewjberger/enum2schema"

[lib]
name = "enum2schema"
path = "src/lib.rs"

[[example]]
name = "derive"
path = "examples/derive.rs"

[[example]]
name = "mcp_tool"
path = "examples/mcp_tool.rs"

[[test]]
name = "schema"
path = "tests/schema.rs"

[dependencies.enum2schema_derive]
version = "0.1.0"

[dependencies.serde_json]
version = "1"

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

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