mirror of
https://gitee.com/openharmony/third_party_rust_version_check
synced 2024-11-22 23:40:02 +00:00
Mention 'autocfg' as an alternative.
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
parent
0ccb306a60
commit
7d81cbd242
12
README.md
12
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user