Forgetting to (or not knowing I need to) enable a "feature" in a Rust dependency has to be one of the most annoyingly arcane experiences I've had with a programming language.

This evening, it was "chron" in diesel so that I could process SQL timestamps properly. Last night it was "recovery" in secp256k1. Literally hours wasted debugging code fixed by just adding in a barely documented feature flag (in the latter, I only found it by reading the dependency source code).

Sign in to participate in the conversation

This server is built by for personal hosting purposes.