derive_more
derive_more copied to clipboard
Try out Watt for faster compilation
https://crates.io/crates/watt
I don't know if there's been any significant updates that haven't been released yet, but when I asked David before, he said it's definitely not production ready.
Another way to improve compile times is to get rid of extra-traits
feature of syn
, as that inflates compile times quite a bit: https://github.com/dtolnay/syn/issues/794#issuecomment-629215018
@matklad good point. I just released 0.99.7, where this syn
feature is only enabled for the derives that need it (if you use the derive_more features). Changing the derives to not require it would be significant work.
With all the drama around serde doing this, i'm going to close this.
@JelteF I've also used it for years in some my projects, and the experience wasn't so smooth around it. I had some breakages between minor version where old wasm binary was failing to run on newer watt runtimes.
In the end, I've stopped using it.