Crate rustversion_detect

source ·
Expand description

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.

§Dependency

Add the following to your build script:

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

Re-exports§

Modules§

  • Contains a basic Date type used for differentiating nightly versions of rust.
  • Defines the rust version types.

Macros§

Constants§