|
| 1 | +[workspace] |
| 2 | +members = ["erc8004"] |
| 3 | +default-members = ["erc8004"] |
| 4 | +resolver = "3" |
| 5 | + |
| 6 | +[workspace.package] |
| 7 | +version = "0.1.0" |
| 8 | +edition = "2024" |
| 9 | +license = "MIT OR Apache-2.0" |
| 10 | +repository = "https://github.com/qntx/erc8004" |
| 11 | + |
| 12 | +[workspace.dependencies] |
| 13 | + |
| 14 | +[profile.release] |
| 15 | +codegen-units = 1 |
| 16 | +lto = true |
| 17 | +panic = "abort" |
| 18 | +strip = true |
| 19 | + |
| 20 | +[profile.dev] |
| 21 | +debug = true |
| 22 | +opt-level = 0 |
| 23 | + |
| 24 | +[profile.test] |
| 25 | +opt-level = 2 |
| 26 | + |
| 27 | +[profile.ci] |
| 28 | +debug = false |
| 29 | +inherits = "dev" |
| 30 | + |
| 31 | +[profile.bench] |
| 32 | +debug = true |
| 33 | +inherits = "release" |
| 34 | + |
| 35 | +[workspace.lints.rust] |
| 36 | +elided_lifetimes_in_paths = "warn" |
| 37 | +single_use_lifetimes = "warn" |
| 38 | +unused_lifetimes = "warn" |
| 39 | +missing_copy_implementations = "warn" |
| 40 | +missing_debug_implementations = "warn" |
| 41 | +missing_docs = "warn" |
| 42 | +trivial_casts = "warn" |
| 43 | +trivial_numeric_casts = "warn" |
| 44 | +variant_size_differences = "warn" |
| 45 | +unsafe_code = "warn" |
| 46 | +unused_qualifications = "warn" |
| 47 | +rust_2024_compatibility = { level = "warn", priority = -1 } |
| 48 | +unused_imports = "warn" |
| 49 | +unused_macro_rules = "warn" |
| 50 | +non_ascii_idents = "warn" |
| 51 | +non_camel_case_types = "warn" |
| 52 | +non_snake_case = "warn" |
| 53 | +non_upper_case_globals = "warn" |
| 54 | + |
| 55 | +[workspace.lints.rustdoc] |
| 56 | +broken_intra_doc_links = "warn" |
| 57 | +private_intra_doc_links = "warn" |
| 58 | +missing_crate_level_docs = "warn" |
| 59 | +invalid_codeblock_attributes = "warn" |
| 60 | +invalid_html_tags = "warn" |
| 61 | +invalid_rust_codeblocks = "warn" |
| 62 | +bare_urls = "warn" |
| 63 | +unescaped_backticks = "warn" |
| 64 | + |
| 65 | +[workspace.lints.clippy] |
| 66 | +cargo = { level = "warn", priority = -1 } |
| 67 | +complexity = { level = "warn", priority = -1 } |
| 68 | +correctness = { level = "deny", priority = -1 } |
| 69 | +nursery = { level = "warn", priority = -1 } |
| 70 | +pedantic = { level = "warn", priority = -1 } |
| 71 | +perf = { level = "warn", priority = -1 } |
| 72 | +style = { level = "warn", priority = -1 } |
| 73 | +suspicious = { level = "warn", priority = -1 } |
| 74 | +restriction = { level = "allow", priority = -1 } |
| 75 | +dbg_macro = "warn" |
| 76 | +print_stderr = "warn" |
| 77 | +print_stdout = "warn" |
| 78 | +todo = "warn" |
| 79 | +unimplemented = "warn" |
| 80 | +panic = "warn" |
| 81 | +unwrap_used = "warn" |
| 82 | +unwrap_in_result = "warn" |
| 83 | +expect_used = "allow" |
| 84 | +panic_in_result_fn = "warn" |
| 85 | +indexing_slicing = "allow" |
| 86 | +fallible_impl_from = "warn" |
| 87 | +missing_docs_in_private_items = "allow" |
| 88 | +missing_errors_doc = "warn" |
| 89 | +missing_panics_doc = "warn" |
| 90 | +missing_safety_doc = "warn" |
| 91 | +doc_markdown = "warn" |
| 92 | +exhaustive_enums = "allow" |
| 93 | +exhaustive_structs = "allow" |
| 94 | +must_use_candidate = "warn" |
| 95 | +return_self_not_must_use = "warn" |
| 96 | +fn_params_excessive_bools = "warn" |
| 97 | +struct_excessive_bools = "allow" |
| 98 | +cognitive_complexity = "warn" |
| 99 | +too_many_lines = "allow" |
| 100 | +excessive_nesting = "allow" |
| 101 | +clone_on_ref_ptr = "warn" |
| 102 | +redundant_clone = "warn" |
| 103 | +large_types_passed_by_value = "warn" |
| 104 | +implicit_hasher = "warn" |
| 105 | +cast_precision_loss = "allow" |
| 106 | +cast_possible_truncation = "warn" |
| 107 | +cast_sign_loss = "warn" |
| 108 | +cast_lossless = "warn" |
| 109 | +future_not_send = "warn" |
| 110 | +await_holding_lock = "warn" |
| 111 | +await_holding_refcell_ref = "warn" |
| 112 | +option_if_let_else = "warn" |
| 113 | +wildcard_enum_match_arm = "allow" |
| 114 | +match_wildcard_for_single_variants = "warn" |
| 115 | +match_same_arms = "warn" |
| 116 | +module_name_repetitions = "allow" |
| 117 | +similar_names = "allow" |
| 118 | +shadow_reuse = "allow" |
| 119 | +shadow_same = "allow" |
| 120 | +shadow_unrelated = "allow" |
| 121 | +multiple_crate_versions = "allow" |
| 122 | +cargo_common_metadata = "allow" |
| 123 | +significant_drop_tightening = "allow" |
| 124 | +used_underscore_binding = "warn" |
| 125 | +mem_forget = "warn" |
0 commit comments