mirror of
https://gitee.com/openharmony/third_party_rust_version_check
synced 2024-11-23 07:49:54 +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
|
## 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user