Skip to content

[PR #26] Cargo.toml resolver = "2" conflicts with edition 2024 default (resolver 3) #61

@obchain

Description

@obchain

PR: #26 (feat/01-scaffold-workspace)
Commit: cb1a5eb
File: Cargo.toml, [workspace] section, resolver = "2"

Problem: Rust edition 2024 (Rust 1.85) activates feature resolver v3 by default. Declaring resolver = "2" explicitly overrides that default and reverts to older resolver. alloy 0.8 with features = ["full"] has a large optional feature graph; resolver 2 vs 3 differs on feature unification for dev/build/test sets. Mismatch causes subtle feature-flag divergence as dep tree grows.

Impact: Feature unification in alloy and tokio sub-crates will not match edition-2024 expectations. Retro-diagnosis mid-dev requires re-auditing activated feature set.

Fix: Remove resolver key (edition 2024 implies resolver 3), or set resolver = "3" explicitly. If resolver 2 is intentional, add inline comment explaining why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    layer:rustRust crates (core / scanner / protocols / executor / cli)pr-reviewFindings from PR review processpriority:p2-polishNice-to-have / polishtype:choreMaintenance, config, tooling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions