emoon / rust_minifb

Cross platfrom window and framebuffer crate for Rust
MIT License
1.01k stars 97 forks source link

Remove the 'cast' dependency. #208

Closed RazrFalcon closed 4 years ago

RazrFalcon commented 4 years ago

The cast dependency doesn't really used much and can be safely replaced with a std alternative.

This allows us to remove cast, rustc_version, semver and semver-parser dependencies (at least on Linux, not sure if other OS'es use this crates).

The only possible downside is that MSRV is 1.34 now, since this is when the TryFrom trait became available. No sure what MSRV is used by this crate.

emoon commented 4 years ago

Thanks!