Closed RazrFalcon closed 2 years ago
This ties neatly into the discussion over at https://github.com/m4b/goblin/issues/185
I think the general approach is fine, although we might want more tooling to download the required file or files on a local machine.
Superseeded by #128. Thank you for the contribution!
For some reasons,
cargo
builds somereqwest
's dependencies even if we don't need them. I'm not sure if this is a knowncargo
bug or something else.Here is a default build log:
As you can see, we have a lot of
rand_*
crates. But we don't need them. They are optional dependencies of theuuid
.Bu removing
reqwest
we will get just:By removing
reqwest
we have to download the testpdb
file manually, which is unfortunate. But downloading some stuff in tests isn't that great of idea either...This also makes
Cargo.lock
way cleaner. And reduces CI build time in half.