Mention 'autocfg' as an alternative.

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
Sergio Benitez 2021-04-16 01:38:58 -07:00 committed by Sergio Benitez
parent 0ccb306a60
commit 7d81cbd242

View File

@ -63,10 +63,14 @@ documentation.
## Alternatives ## Alternatives
This crate is dead simple with no dependencies. If you need something more This crate is dead simple with no dependencies. If you need something more and
and don't care about panicking if the version cannot be obtained, or if you don't care about panicking if the version cannot be obtained, or if you don't
don't mind adding dependencies, see mind adding dependencies, see [rustc_version]. If you'd instead prefer a feature
[rustc_version](https://crates.io/crates/rustc_version). detection library that works by dynamically invoking `rustc` with a
representative code sample, see [autocfg].
[rustc_version]: https://crates.io/crates/rustc_version
[autocfg]: https://crates.io/crates/autocfg
## License ## License