zxcv05 / hubbub

Rust library for creating discord self-bots
GNU General Public License v3.0
4 stars 2 forks source link

protobuf-src basically doubles the compile time #2

Closed zxcv05 closed 1 month ago

zxcv05 commented 1 month ago

protobuf-src compiles protoc before compiling the program. protoc is required by Prost to compile the protobufs into Rust code.

Why not just skip all that and compile it once? It's likely to not change and wouldn't be too hard to re-compile when they do update

zxcv05 commented 1 month ago

Build times went from 5 minutes to 1 minute. Awesome