build: Can we improve our dev workflow? #415
Labels
community
Improvement to onboarding and collaboration
help wanted
Extra attention is needed
question
Further information is requested
We have a workspace with
imap-codec
depending onimap-types
and we (currently) develop both in lockstep. Thus, we use a[patch]
directive to tell Cargo to use the localimap-types
. All other crates ...$ find **/Cargo.toml assets/demos/tokio-client/Cargo.toml assets/demos/tokio-server/Cargo.toml assets/demos/tokio-support/Cargo.toml Cargo.toml imap-codec/Cargo.toml imap-codec/fuzz/Cargo.toml imap-types/Cargo.toml imap-types/fuzz/Cargo.toml
... use
path = "imap-{types,codec}"
directly.Thoughts/Observations:
cargo-semver-checks
to check for breaking changes. Updatingimap-types
(whose types we expose in the public API ofimap-codec
) is a breaking change, too. Thus,cargo-semver-checks
should check. But it also needs to ignore the local[patch]
because otherwise we would check local vs local. So... it tries to fetchimap-types 2.0.0
from crates.io and fails. (Possibly a mistake in thinking here ...)imap-types
and thenimap-codec
(depending onimap-types
on crates.io.) Question: Are there any checks we might miss doing so?The text was updated successfully, but these errors were encountered: