rustversion-detect 0.1.3

Detect rustc compiler version
Documentation
  • Coverage
  • 100%
    51 out of 51 items documented6 out of 30 items with examples
  • Size
  • Source code size: 51.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.74 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Techcable/rustversion-detect
    2 0 5
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Techcable

rustversion-detect

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"

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.