Skip to content

Commit

Permalink
Merge pull request #44 from japaric/release
Browse files Browse the repository at this point in the history
rm default feature & update CHANGELOG
  • Loading branch information
japaric authored Sep 4, 2021
2 parents 364d3a8 + 19c7d60 commit 0522880
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{ matrix.target }} --no-default-features
args: --target ${{ matrix.target }} --features std

# only cargo build
msrv:
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }} --no-default-features
args: --target ${{ matrix.target }} --features std
37 changes: 33 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- The guaranteed MSRV is now 1.31.0.
- The x128 feature has been removed; 128-bit integer support is now always
available by default.
## [v0.3.0] - 2021-09-04

### Changed

- (breaking change) The guaranteed MSRV is now 1.31.0. ([#40])
- (breaking change) The `std` Cargo feature is no longer enabled by default. ([#44])
- 128-bit integer support is now always available by default. ([#37])

[#37]: https://github.com/japaric/cast.rs/pull/37
[#40]: https://github.com/japaric/cast.rs/pull/40
[#44]: https://github.com/japaric/cast.rs/pull/44

### Fixed

- fixed casting `255f32` to `u8` returning `Error::Overflow` ([#23], [#42])
- fixed intent of promote-and-back tests ([#39], [#43])

[#23]: https://github.com/japaric/cast.rs/issues/23
[#39]: https://github.com/japaric/cast.rs/issues/39
[#42]: https://github.com/japaric/cast.rs/pull/42
[#43]: https://github.com/japaric/cast.rs/pull/43

### Removed

- (breaking change) The `x128` Cargo feature has been removed
- removed `rustc_version` and `semver` build dependencies ([#35], [#37])
- removed all internal use of `unsafe` code ([#41])

[#35]: https://github.com/japaric/cast.rs/issues/35
[#41]: https://github.com/japaric/cast.rs/pull/41

## [v0.2.7] - 2021-07-03

Expand Down Expand Up @@ -71,7 +98,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Initial release

[Unreleased]: https://github.com/japaric/cast.rs/compare/v0.2.6...HEAD
[Unreleased]: https://github.com/japaric/cast.rs/compare/v0.3.0...HEAD
[v0.3.0]: https://github.com/japaric/cast.rs/compare/v0.2.7...v0.3.0
[v0.2.7]: https://github.com/japaric/cast.rs/compare/v0.2.6...v0.2.7
[v0.2.6]: https://github.com/japaric/cast.rs/compare/v0.2.5...v0.2.6
[v0.2.5]: https://github.com/japaric/cast.rs/compare/v0.2.4...v0.2.5
[v0.2.4]: https://github.com/japaric/cast.rs/compare/v0.2.3...v0.2.4
Expand Down
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ version = "0.3.0"
edition = "2018"

[features]
# Assume we should use `std` unless asked to do otherwise.
default = ["std"]
# Enable this to get a std::error::Error impl for convenient use with other
# libraries.
std = []
Expand Down

0 comments on commit 0522880

Please sign in to comment.