djc/rustc-version-rs

Consider recommending autocfg

Closed this issue · 1 comments

autocfg is a new-ish crate in the space of compiler version detection:

https://crates.io/crates/autocfg/

it's main difference is that it focuses on feature detection (rather then version detection) by default. For this reason, I would generally recommend using autocfg rather than rustc_version. If maintainers of rustc_version think that way, perhaps it makes sense to point towards this crate from readme?

djc commented

I've added a mention to the README, thanks for the suggestion!