From 4735637ead09c4e8d4b9a0409d7ea2538eb9cb40 Mon Sep 17 00:00:00 2001 From: main Date: Sat, 13 Jun 2026 12:10:55 -0400 Subject: Update Rust starter bootstrap posture Install project-local Cargo target-dir guidance and template config, keep Cargo output under /data/main/cargo-target/, preserve the global shared target fallback, and raise the source-file cap to 3000 lines. --- template/fresh/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'template/fresh/Cargo.toml') diff --git a/template/fresh/Cargo.toml b/template/fresh/Cargo.toml index 41a5c1a..ee35453 100644 --- a/template/fresh/Cargo.toml +++ b/template/fresh/Cargo.toml @@ -19,6 +19,9 @@ unused_crate_dependencies = "warn" unused_lifetimes = "deny" unused_qualifications = "deny" unused_results = "deny" +ambiguous_glob_imports = "allow" +ambiguous_glob_reexports = "allow" +hidden_glob_reexports = "allow" [workspace.lints.rustdoc] bare_urls = "deny" @@ -42,6 +45,9 @@ missing_errors_doc = "allow" missing_panics_doc = "allow" multiple_crate_versions = "allow" +enum_glob_use = "allow" +wildcard_imports = "allow" + items_after_statements = "allow" many_single_char_names = "allow" match_same_arms = "allow" @@ -111,6 +117,6 @@ canonicalize_commands = [ ] [workspace.metadata.rust-starter.source_files] -max_lines = 2500 +max_lines = 3000 include = ["*.rs", "**/*.rs"] exclude = [] -- cgit v1.2.3