# 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 = "bizerror" version = "0.1.0" authors = ["Jasper 张汉杰 <58722459+VainJoker@users.noreply.github.com>"] build = false exclude = [ ".github", "CHANGELOG.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Provides a standardized approach for defining and managing business-related errors" homepage = "https://github.com/vainjoker/bizerror" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/vainjoker/bizerror" [profile.dist] lto = "thin" inherits = "release" [profile.release] strip = true [lib] name = "bizerror" path = "src/lib.rs" [dependencies] [dev-dependencies] [lints.clippy] as_underscore = "warn" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" deref_by_slicing = "warn" else_if_without_else = "warn" empty_line_after_doc_comments = "warn" equatable_if_let = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" map_err_ignore = "warn" missing_const_for_fn = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" mixed_read_write_in_expression = "warn" module_inception = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" needless_raw_strings = "warn" redundant_type_annotations = "warn" rest_pat_in_fully_bound_structs = "warn" string_lit_chars_any = "warn" string_to_string = "warn" unwrap_used = "warn" use_self = "warn" wildcard_imports = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid"