-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
Description
A scratchpad for rust-lang/cargo#12425
Merge plan
- Resolve cargo upgrade is inconsistent with cargo #737
- Resolve Support workspace inheritance in
cargo-upgrade#751 - Create
merge-upgradebranch - Refactor to match cargo's directory structure
- Refactor out of
cargosops/cargo_add/manifest.rsinto a place for reuse- Possibilities:
ops/cargo_editoreditand make it public
- Possibilities:
- Port to cargo's internals
- Merge the command (like in feat: Import cargo-add into cargo rust-lang/cargo#10472)
- Update documentation (like in Document cargo-add rust-lang/cargo#10578)
- Update completions (like in Completion support for
cargo-addrust-lang/cargo#10577) - Update Tracking issue for RFC 1977: public & private dependencies rust-lang/rust#44663 to include
- cargo-upgrade selecting a safe version (Option to skip upgrading direct dependencies if it would increase the number of copies to be built #445)
- for suggesting the user bump major (cargo upgrade: Suggest increasing project's version after Semver-major upgrades #144)
- Transfer to cargo repo:
Open questions
- How do we represent "fail if manifest will change" and "upgrade using lock file"
- Currently "fail if manifest will change" is
--lockedand "upgrade using lock file" is--to-lockfile - Alt: if you squint
--lockedcould also mean "upgrade using lock file" - Prompt the user for each upgrade by default but also accept
--choice <none|locked|latest>
- Currently "fail if manifest will change" is
jwodder and mo8itkamulos, mo8it and CosminPerRam