macro_tools 0.80.0

Tools for writing procedural macroses.
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 = "2021"
name = "macro_tools"
version = "0.80.0"
authors = [
    "Kostiantyn Wandalen <wandalen@obox.systems>",
    "Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Tools for writing procedural macroses.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/macro_tools"
documentation = "https://docs.rs/macro_tools"
readme = "readme.md"
keywords = [
    "fundamental",
    "general-purpose",
    "builder-pattern",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/macro_tools"

[package.metadata.docs.rs]
features = ["full"]
all-features = false

[features]
attr = [
    "diag",
    "quantifier",
]
attr_prop = ["components"]
components = []
container_kind = ["typ"]
ct = []
default = [
    "enabled",
    "attr",
    "attr_prop",
    "components",
    "ct",
    "container_kind",
    "derive",
    "equation",
    "generic_args",
    "generic_params",
    "ident",
    "item",
    "item_struct",
    "name",
    "kw",
    "phantom",
    "punctuated",
    "quantifier",
    "struct_like",
    "tokens",
    "typ",
    "typed",
]
derive = []
diag = []
enabled = [
    "component_model_types/enabled",
    "interval_adapter/enabled",
    "clone_dyn_types/enabled",
    "iter_tools/enabled",
]
equation = []
full = ["enabled"]
generic_args = []
generic_params = ["punctuated"]
ident = ["kw"]
item = ["punctuated"]
item_struct = []
iter = []
kw = []
name = []
phantom = ["item"]
punctuated = []
quantifier = []
struct_like = ["item_struct"]
tokens = []
typ = []
typed = []

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clone_dyn_types]
version = "~0.45.0"
features = []
default-features = false

[dependencies.component_model_types]
version = "~0.22.0"
features = ["types_component_assign"]
default-features = false

[dependencies.const_format]
version = "~0.2.35"
features = []
default-features = false

[dependencies.convert_case]
version = "0.6.0"
features = []
default-features = false

[dependencies.interval_adapter]
version = "~0.40.0"
features = []
default-features = false

[dependencies.iter_tools]
version = "~0.45.0"
features = ["iter_trait"]
default-features = false

[dependencies.proc-macro2]
version = "~1.0.78"
features = ["default"]
default-features = false

[dependencies.quote]
version = "~1.0.35"
features = ["default"]
default-features = false

[dependencies.syn]
version = "~2.0.100"
features = [
    "clone-impls",
    "full",
    "derive",
    "parsing",
    "printing",
    "proc-macro",
    "extra-traits",
]
default-features = false

[dev-dependencies.test_tools]
version = "~0.16.0"
features = ["full"]

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
struct_excessive_bools = "allow"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']