# 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 = "borrow" version = "1.0.2" authors = ["Wojciech Danilo "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields." readme = "README.md" keywords = [ "struct", "borrow", "partial", "fields", "references", ] license = "MIT OR Apache-2.0" repository = "https://github.com/wdanilo/borrow" [lib] name = "borrow" path = "src/lib.rs" [[test]] name = "graph" path = "tests/graph.rs" [[test]] name = "rendering_engine" path = "tests/rendering_engine.rs" [dependencies.borrow-macro] version = "1.0.2" [lints.clippy] absolute_paths = "warn" assigning_clones = "warn" checked_conversions = "warn" cloned_instead_of_copied = "warn" cognitive_complexity = "warn" dbg_macro = "warn" doc_markdown = "warn" expect_used = "warn" explicit_iter_loop = "warn" filter_map_next = "warn" if_then_some_else_none = "warn" index_refutable_slice = "warn" large_futures = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" manual_let_else = "warn" map_unwrap_or = "warn" needless_pass_by_ref_mut = "warn" nonstandard_macro_braces = "warn" option_option = "warn" panic = "warn" pub_underscore_fields = "warn" rc_buffer = "warn" rc_mutex = "warn" renamed_function_params = "warn" semicolon_outside_block = "warn" trivially_copy_pass_by_ref = "warn" tuple_array_conversions = "warn" unchecked_duration_subtraction = "warn" uninlined_format_args = "warn" unnecessary_box_returns = "warn" unnecessary_safety_doc = "warn" unnecessary_wraps = "warn" unnested_or_patterns = "warn" unreadable_literal = "warn" unused_self = "warn" unwrap_used = "warn" use_self = "warn"