rustversion-detect

Crates.iorustversion-detect
lib.rsrustversion-detect
version0.2.0
created_at2024-06-15 07:11:27.665074+00
updated_at2025-09-11 01:03:37.022433+00
descriptionDetect rustc compiler version
homepage
repositoryhttps://github.com/Techcable/rustversion-detect
max_upload_size
id1272635
size53,872
(Techcable)

documentation

README

rustversion-detect

This crate provides a simple API for detecting the rustc compiler version.

It is only intended for use at build time, because it requires executing the rustc compiler.

The implementation is forked from the rustversion crate, but with proc-macro code removed.

Dependency

Add the following to your build script:

[build-dependencies]
rustversion-detect = "0.1"

License

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.

Commit count: 182

cargo fmt