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
skeptic is a helper for tests, and as such it must and should be a dev-dependency. Unfortunately, the way it plugs into build.rs causes all downstream users of libraries using skeptic to also compile and build skeptic and all its dependencies, for the purpose of generating a test file that will never be executed. The dependency tree is not so small as one would hope:
My own two cents: create a skeptic binary and let users of skeptic install it through cargo install. Running skeptic README.md generates the test file. The test file itself contains a checksum for README.md and checks it at every run; if it changes, it suggests the developer to re-run skeptic README.md (or re-run it itself?).
skeptic
is a helper for tests, and as such it must and should be a dev-dependency. Unfortunately, the way it plugs intobuild.rs
causes all downstream users of libraries usingskeptic
to also compile and buildskeptic
and all its dependencies, for the purpose of generating a test file that will never be executed. The dependency tree is not so small as one would hope:Given that rust is not... fast at builds, I think that adding all this overhead is a disservice for users of libraries using skeptic.
Is it possible to devise a better way to handle this?
The text was updated successfully, but these errors were encountered: