| 1 | [workspace] |
| 2 | resolver = "2" |
| 3 | members = [ |
| 4 | "crates/last30days-core", |
| 5 | "crates/last30days-cli", |
| 6 | ] |
| 7 | |
| 8 | [workspace.package] |
| 9 | version = "0.1.0" |
| 10 | edition = "2024" |
| 11 | rust-version = "1.85" |
| 12 | license = "MIT" |
| 13 | repository = "https://github.com/mvanhorn/last30days-skill" |
| 14 | |
| 15 | [workspace.dependencies] |
| 16 | anyhow = "1.0" |
| 17 | rayon = "1.10" |
| 18 | regex = "1.11" |
| 19 | serde = { version = "1.0", features = ["derive"] } |
| 20 | serde_json = "1.0" |
| 21 | sha2 = "0.10" |
| 22 | thiserror = "2.0" |
| 23 | |
| 24 | [workspace.lints.rust] |
| 25 | unsafe_code = "forbid" |
| 26 | unsafe_op_in_unsafe_fn = "warn" |
| 27 | missing_debug_implementations = "warn" |
| 28 | missing_docs = "warn" |
| 29 | unreachable_pub = "warn" |
| 30 | rust_2018_idioms = { level = "warn", priority = -1 } |
| 31 | |
| 32 | [workspace.lints.clippy] |
| 33 | all = { level = "warn", priority = -1 } |
| 34 | pedantic = { level = "warn", priority = -1 } |
| 35 | |
| 36 | unwrap_used = "warn" |
| 37 | expect_used = "allow" |
| 38 | panic_in_result_fn = "warn" |
| 39 | missing_panics_doc = "warn" |
| 40 | missing_errors_doc = "warn" |
| 41 | missing_assert_message = "warn" |
| 42 | |
| 43 | allow_attributes = "warn" |
| 44 | allow_attributes_without_reason = "warn" |
| 45 | |
| 46 | undocumented_unsafe_blocks = "warn" |
| 47 | multiple_unsafe_ops_per_block = "warn" |
| 48 | |
| 49 | fn_params_excessive_bools = "warn" |
| 50 | struct_excessive_bools = "warn" |
| 51 | clone_on_ref_ptr = "warn" |
| 52 | redundant_clone = "warn" |
| 53 | rc_buffer = "warn" |
| 54 | |
| 55 | exhaustive_enums = "warn" |
| 56 | |
| 57 | string_add = "warn" |
| 58 | wildcard_imports = "warn" |
| 59 | |
| 60 | dbg_macro = "warn" |
| 61 | todo = "warn" |
| 62 | print_stdout = "warn" |
| 63 | print_stderr = "warn" |
| 64 | |
| 65 | as_conversions = "warn" |
| 66 | cast_possible_truncation = "warn" |
| 67 | cast_sign_loss = "warn" |
| 68 | |
| 69 | module_name_repetitions = "allow" |
| 70 | must_use_candidate = "allow" |
| 71 | module_inception = "allow" |
| 72 | enum_glob_use = "allow" |
| 73 | |
| 74 | [profile.release] |
| 75 | lto = "thin" |
| 76 | codegen-units = 1 |
| 77 | strip = true |
| 78 | opt-level = 3 |
| 79 |