1# Change Log 2 3All notable changes to this project will be documented in this file. 4 5The format is based on [Keep a Changelog](http://keepachangelog.com/) 6and this project adheres to [Semantic Versioning](http://semver.org/). 7 8## [Unreleased] 9 10## [v0.3.0] - 2021-09-04 11 12### Changed 13 14- (breaking change) The guaranteed MSRV is now 1.31.0. ([#40]) 15- (breaking change) The `std` Cargo feature is no longer enabled by default. ([#44]) 16- 128-bit integer support is now always available by default. ([#37]) 17 18[#37]: https://github.com/japaric/cast.rs/pull/37 19[#40]: https://github.com/japaric/cast.rs/pull/40 20[#44]: https://github.com/japaric/cast.rs/pull/44 21 22### Fixed 23 24- fixed casting `255f32` to `u8` returning `Error::Overflow` ([#23], [#42]) 25- fixed intent of promote-and-back tests ([#39], [#43]) 26 27[#23]: https://github.com/japaric/cast.rs/issues/23 28[#39]: https://github.com/japaric/cast.rs/issues/39 29[#42]: https://github.com/japaric/cast.rs/pull/42 30[#43]: https://github.com/japaric/cast.rs/pull/43 31 32### Removed 33 34- (breaking change) The `x128` Cargo feature has been removed 35- removed `rustc_version` and `semver` build dependencies ([#35], [#37]) 36- removed all internal use of `unsafe` code ([#41]) 37 38[#35]: https://github.com/japaric/cast.rs/issues/35 39[#41]: https://github.com/japaric/cast.rs/pull/41 40 41## [v0.2.7] - 2021-07-03 42 43### Changed 44 45- Bumped `rustc_version` dependency to v0.4.0 46 47## [v0.2.6] - 2021-05-15 48 49### Changed 50 51- Bumped `rustc_version` dependency 52 53## [v0.2.5] - 2021-04-13 54 55### Fixed 56 57- Build on platforms with 32-bit pointers 58 59## [v0.2.4] - 2021-04-11 - YANKED 60 61## [v0.2.3] - 2018-11-17 62 63### Changed 64 65- Documented the guaranteed MSRV to be 1.13 66- The `x128` feature now works on *stable* Rust 1.26+ 67 68### Fixed 69 70- Overflow and underflow checks when casting a float to an unsigned integer 71 72## [v0.2.2] - 2017-05-07 73 74### Fixed 75 76- UB in the checked cast from `f32` to `u128`. 77 78## [v0.2.1] - 2017-05-06 79 80### Added 81 82- Support for 128-bit integers, behind the `x128` Cargo feature (nightly 83 needed). 84 85## [v0.2.0] - 2017-02-08 86 87### Added 88 89- Now `cast::Error` implements the `std::error::Error` trait among other traits 90 like `Display`, `Clone`, etc. 91 92### Changed 93 94- [breaking-change] This crate now depends on the `std` crate by default but you 95 can make it `no_std` by opting out of the `std` Cargo feature. 96 97## v0.1.0 - 2016-02-07 98 99Initial release 100 101[Unreleased]: https://github.com/japaric/cast.rs/compare/v0.3.0...HEAD 102[v0.3.0]: https://github.com/japaric/cast.rs/compare/v0.2.7...v0.3.0 103[v0.2.7]: https://github.com/japaric/cast.rs/compare/v0.2.6...v0.2.7 104[v0.2.6]: https://github.com/japaric/cast.rs/compare/v0.2.5...v0.2.6 105[v0.2.5]: https://github.com/japaric/cast.rs/compare/v0.2.4...v0.2.5 106[v0.2.4]: https://github.com/japaric/cast.rs/compare/v0.2.3...v0.2.4 107[v0.2.3]: https://github.com/japaric/cast.rs/compare/v0.2.2...v0.2.3 108[v0.2.2]: https://github.com/japaric/cast.rs/compare/v0.2.1...v0.2.2 109[v0.2.1]: https://github.com/japaric/cast.rs/compare/v0.2.0...v0.2.1 110[v0.2.0]: https://github.com/japaric/cast.rs/compare/v0.1.0...v0.2.0 111