this post was submitted on 18 Aug 2023
92 points (98.9% liked)
Rust
5966 readers
32 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can read the source of build.rs and and proc macros executed during a build, but do you? Does anyone do that every time they add a new dependency?
When adding a new dependency I almost always go over the source code to see what kind of performance to expect. If
build.rs
is there - checking it takes a single click so yes to that too. Derive macro - less frequently, but you have to do it when documentation is non existent.