formars-derive 0.1.0

Opt-in `#[derive(FormSchema)]` companion for formars-core.
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"
rust-version = "1.88"
name = "formars-derive"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opt-in `#[derive(FormSchema)]` companion for formars-core."
documentation = "https://docs.rs/formars-derive"
readme = "README.md"
keywords = [
    "derive",
    "forms",
    "schema",
    "proc-macro",
]
categories = ["rust-patterns"]
license = "MIT"
repository = "https://github.com/edoriban/formars"

[lib]
name = "formars_derive"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = ["full"]

[dev-dependencies.formars-core]
version = "0.1.0"

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

[lints.clippy]
allow_attributes_without_reason = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
single_match_else = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"