chris-zen / coremidi

CoreMIDI library for Rust
https://chris-zen.github.io/coremidi/coremidi/
MIT License
75 stars 20 forks source link

Explicitly specify minimum Rust version #18

Closed jasongrlicky closed 4 years ago

jasongrlicky commented 4 years ago

After checking if this crate builds under a bunch of different Rust versions, it looks like the minimum version required is v1.30.

This pull request adds a badge to the README so that nobody else will have to do this trial-and-error to determine that.

This pull request also adds a rust-toolchain file with its version set at v1.30.1, so that when in the future, if developers working on this crate use features that necessitate a minimum rust version upgrade, they'll be reminded to update the crate version, rustc badge, and toolchain file.

This is not a breaking change.

Thank you! 🙏