captur 1.0.0

Macro to capture whole structs from disjoint fields in a closure.
Documentation
[lib]
name = "captur"
[lints.clippy]
implicit_return = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
redundant_pub_crate = "allow"
tabs_in_doc_comments = "allow"

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

[lints.clippy.blanket_clippy_restriction_lints]
level = "allow"
priority = 5

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

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

[lints.clippy.restriction]
level = "warn"
priority = -2

[lints.rust]
deprecated_in_future = "warn"
ffi_unwind_calls = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit-bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused_crate_dependencies = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"

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

[lints.rust.keyword_idents]
level = "warn"
priority = -3

[lints.rust.let_underscore]
level = "warn"
priority = -2

[lints.rust.nonstandard_style]
level = "warn"
priority = -2

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

[lints.rust.rust_2018_compatibility]
level = "warn"
priority = -2

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

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -2

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -2

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0

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

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

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
missing_crate_level_docs = "allow"
private_doc_tests = "warn"
private_intra_doc_links = "warn"

[package]
authors = ["Tim Oram <dev@mitmaro.ca>"]
categories = ["rust-patterns"]
description = "Macro to capture whole structs from disjoint fields in a closure."
documentation = "https://docs.rs/captur/"
edition = "2021"
include = ["**/*.rs", "/Cargo.toml", "/CHANGELOG.md", "/LICENSE", "/README.md"]
keywords = ["macro", "capture", "struct"]
license = "ISC"
name = "captur"
readme = "README.md"
repository = "https://github.com/MitMaro/captur"
version = "1.0.0"