allow overriding dependency major version
currently there is no way in replace or patch to specify a _different_ version than the original dependency. with replace: ```toml [replace] "openssl:0.9.24" = {git = "https://github.com/sfackler/rust-openssl.git" ``` ``` error: no matching package for override `https://github.com/rust-lang/crates.io-index#openssl:0.9.24` found location searched: https://github.com/sfackler/rust-openssl.git version required: = 0.9.24 ``` with patch: ```toml [patch.crates-io] openssl = {git = "https://github.com/sfackler/rust-openssl.git"} ``` is simply ignored. ``` error: failed to run custom build command for `openssl v0.9.24` ``` With the complexity of packages growing, it is sometimes nessesary to override versions in Cargo.toml since upstream cant update the version yet if another dependency hasnt updated.
Posted by aep on Jun 19, 2018, 11:39 AM
Tags
Related issues
- [Meta] Feedback on granular control over Copilot changes
- unexpected status 401 Unauthorized issue
- [MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
- [CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
- Video stops playing after some minutes
- [MODEL] Claude verbose code comments by default — ignores instructions to stop.
Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments
github (Software)
[Meta] Feedback on granular control over Copilot changes
unexpected status 401 Unauthorized issue
[MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
[CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
Video stops playing after some minutes
[MODEL] Claude verbose code comments by default — ignores instructions to stop.
Scope Codex VS Code chats to the current workspace/project
Update on "Co-authored-by: Copilot" in commit messages
allow overriding dependency major version
currently there is no way in replace or patch to specify a _different_ version than the original dependency. with replace: ```toml [replace] "openssl:0.9.24" = {git = "https://github.com/sfackler/rust-openssl.git" ``` ``` error: no matching package for override `https://github.com/rust-lang/crates.io-index#openssl:0.9.24` found location searched: https://github.com/sfackler/rust-openssl.git version required: = 0.9.24 ``` with patch: ```toml [patch.crates-io] openssl = {git = "https://github.com/sfackler/rust-openssl.git"} ``` is simply ignored. ``` error: failed to run custom build command for `openssl v0.9.24` ``` With the complexity of packages growing, it is sometimes nessesary to override versions in Cargo.toml since upstream cant update the version yet if another dependency hasnt updated.
Comments (0)
No comments yet. Start the discussion.