derive-defs 0.0.8

Library for generating derive preset macros from TOML configuration
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.92"
name = "derive-defs"
version = "0.0.8"
authors = ["OpenTC Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for generating derive preset macros from TOML configuration"
homepage = "https://gitlab.opentc.ru/opentc/rust-derive-defs"
documentation = "https://docs.rs/derive-defs"
readme = "README.md"
keywords = [
    "derive",
    "macro",
    "codegen",
    "toml",
    "preset",
]
categories = [
    "development-tools::build-utils",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.opentc.ru/opentc/rust-derive-defs"

[package.metadata.release]
pre-release-replacements = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.101"

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

[dependencies.quote]
version = "1.0.44"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.syn]
version = "2.0.114"
features = [
    "full",
    "parsing",
]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "0.9.11"

[dev-dependencies.tempfile]
version = "3.14"

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

[lints.clippy]
cargo_common_metadata = "allow"

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

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

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

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

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unused]
level = "warn"
priority = -1