I'd be a big fan of cfg-if
being a first-class part of the Rust language. It was #3 on my handwavy calculation of best candidates for 3rd party crates that should get folded into the language itself, after matches
(now integrated!) and atty
.
2 Likes