Crate rustversion_detect
source ·Expand description
Simple API for detecting the rust version.
Re-exports§
pub use crate::date::Date;
pub use crate::version::Channel;
pub use crate::version::RustVersion;
pub use crate::version::StableVersionSpec;
Modules§
- Contains a basic
Date
type used for differentiating nightly versions of rust. - Defines the rust version types.
Macros§
- Declare a
Date
using the YYYY-MM-DD format (ISO 8601). - Mark a function as
const
if acfg!(...)
attribute evaluates to true. - specDeprecatedSpecify a stable version (a
StableVersionSpec
).
Constants§
- The detected rust compiler version.