You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal(A) is to have hazel-feather depend on a patched and volatile feather, that isn't linted recursively.
The goal(B) is to git push something anyone can build where [patch.crates-io] references git/remote. While at the same time having [patch.crates-io] references a path/local.
The example takes any source where name = "hazel-feather". Might be better to use path to identify where to apply the override. For this project it's expected that feather will be edited a lot and it isn't good to have to push to gitlab for every change.
The text was updated successfully, but these errors were encountered:
cheako
added
the
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
label
Oct 16, 2019
You want to patch some dependencies, and you point the patches at a git repo.
And you don't want those patches included with clippy or rustfmt. This is working, the point here is for CI we want the clippy info for just this crate... As opposed to what you get with a git submodule and "local path"
While doing development, you want to patch those dependencies to a local path.
And you can't stop those local paths included with clippy or rustfmt. This is OK as I'd be hacking on both crates I'd want this feature/bug. Edit: OK either way, it's not needed and doesn't hurt.
Yes, #5539 looks perfect. I'll keep my eyes out for an updated clippy, thanks.
This(B) comes from(A) not wanting linting fmt/clippy to descend into feather from hazel-feather. See https://www.reddit.com/r/rust/comments/dimku2/crate_patching_and_fmtclippy/
The goal(A) is to have hazel-feather depend on a patched and volatile feather, that isn't linted recursively.
The goal(B) is to
git push
something anyone can build where[patch.crates-io]
references git/remote. While at the same time having[patch.crates-io]
references a path/local.On Unix
~/.cargo/overrides
has something like:https://gitlab.com/cheako/hazel-feather/blob/77e70dbc9f760964df2ae66048032c5a3be3f388/Cargo.toml
The example takes any source where
name = "hazel-feather"
. Might be better to use path to identify where to apply the override. For this project it's expected that feather will be edited a lot and it isn't good to have to push to gitlab for every change.The text was updated successfully, but these errors were encountered: