# 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" rust-version = "1.56.0" name = "captur" version = "1.0.1" authors = ["Tim Oram "] include = [ "**/*.rs", "/Cargo.toml", "/CHANGELOG.md", "/LICENSE", "/README.md", ] description = "Macro to capture whole structs from disjoint fields in a closure." documentation = "https://docs.rs/captur/" readme = "README.md" keywords = [ "macro", "capture", "struct", ] categories = ["rust-patterns"] license = "ISC" repository = "https://github.com/MitMaro/captur" [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"