[dependencies.clone_dyn_types]
default-features = false
features = []
version = "~0.44.0"
[dependencies.component_model_types]
default-features = false
features = ["types_component_assign"]
version = "~0.21.0"
[dependencies.const_format]
default-features = false
features = []
version = "~0.2.35"
[dependencies.convert_case]
default-features = false
features = []
version = "0.6.0"
[dependencies.interval_adapter]
default-features = false
features = []
version = "~0.40.0"
[dependencies.iter_tools]
default-features = false
features = ["iter_trait"]
version = "~0.44.0"
[dependencies.proc-macro2]
default-features = false
features = ["default"]
version = "~1.0.78"
[dependencies.quote]
default-features = false
features = ["default"]
version = "~1.0.35"
[dependencies.syn]
default-features = false
features = ["clone-impls", "full", "derive", "parsing", "printing", "proc-macro", "extra-traits"]
version = "~2.0.100"
[dev-dependencies.test_tools]
features = ["full"]
version = "~0.16.0"
[[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"
[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"
[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]
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']
level = "warn"
priority = 0
[package]
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>", "Dmytro Kryvoruchko <dmytro.kr@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "development-tools"]
description = """
Tools for writing procedural macroses.
"""
documentation = "https://docs.rs/macro_tools"
edition = "2021"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/macro_tools"
keywords = ["fundamental", "general-purpose", "builder-pattern"]
license = "MIT"
name = "macro_tools"
readme = "readme.md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/macro_tools"
version = "0.79.0"
[package.metadata.docs.rs]
all-features = false
features = ["full"]
[[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"