From 7d81cbd24211866f62b67c141394d340b1bc122d Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 16 Apr 2021 01:38:58 -0700 Subject: [PATCH] Mention 'autocfg' as an alternative. Co-authored-by: Aleksey Kladov --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f6fa852..8637d2a 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,14 @@ documentation. ## Alternatives -This crate is dead simple with no dependencies. If you need something more -and don't care about panicking if the version cannot be obtained, or if you -don't mind adding dependencies, see -[rustc_version](https://crates.io/crates/rustc_version). +This crate is dead simple with no dependencies. If you need something more and +don't care about panicking if the version cannot be obtained, or if you don't +mind adding dependencies, see [rustc_version]. If you'd instead prefer a feature +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