Crates.io | rustversion-detect |
lib.rs | rustversion-detect |
version | 0.1.3 |
source | src |
created_at | 2024-06-15 07:11:27.665074 |
updated_at | 2024-09-06 02:54:04.206114 |
description | Detect rustc compiler version |
homepage | |
repository | https://github.com/Techcable/rustversion-detect |
max_upload_size | |
id | 1272635 |
size | 51,998 |
This crate provides a simple API for detecting the rustc compiler version.
It is primarily intended for build scripts, but is also usable at runtime.
The implementation is forked from the rustversion
crate, but with proc-macro code removed.
Add the following to your build script:
[build-dependencies]
rustversion-detect = "0.1"
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.