The build.rs in cargo-progenitor uses built to save dependency information... but built won't necessarily retail dependency information for dependencies that the compiler discovers are unused. In the case of #828, it can lack information for the futures crate, which is not used transitively in the cargo-progenitor binary (even though its within its transitive dependencies). This PR hard-codes version information for potential dependencies of the generated crate.
Closes #828
The
build.rs
incargo-progenitor
usesbuilt
to save dependency information... but built won't necessarily retail dependency information for dependencies that the compiler discovers are unused. In the case of #828, it can lack information for thefutures
crate, which is not used transitively in thecargo-progenitor
binary (even though its within its transitive dependencies). This PR hard-codes version information for potential dependencies of the generated crate.