token-parser-derive 0.6.0

Derive macros to make structs parsable into tokens
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 = "token-parser-derive"
version = "0.6.0"
authors = ["p <p@p11c.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros to make structs parsable into tokens"
readme = "README.md"
keywords = [
    "derive",
    "parser",
    "proc-macro",
    "tokens",
]
categories = [
    "parsing",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/porky11/token-parser"

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

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

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

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0.114"

[dev-dependencies]

[lints.clippy]
boxed_local = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "allow"
enum_glob_use = "allow"
exit = "deny"
expect_used = "deny"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
indexing_slicing = "deny"
inline_always = "allow"
items_after_statements = "allow"
many_single_char_names = "allow"
missing_transmute_annotations = "deny"
module_name_repetitions = "allow"
option_if_let_else = "allow"
panic = "deny"
panic_in_result_fn = "deny"
range_plus_one = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
string_slice = "deny"
struct_field_names = "allow"
suboptimal_flops = "allow"
suspicious_arithmetic_impl = "allow"
suspicious_operation_groupings = "allow"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
trait_duplication_in_bounds = "allow"
trivially_copy_pass_by_ref = "allow"
unchecked_time_subtraction = "allow"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
while_float = "allow"
wildcard_imports = "allow"

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

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

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

[lints.rust.warnings]
level = "deny"
priority = -2