Skip to content

Commit

Permalink
dec: prepare 0.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Loiselle committed Jun 3, 2021
1 parent 00eb085 commit 5bf1f3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ libdecnumber.
```
# Cargo.toml
[dependencies]
dec = "0.4.0"
dec = "0.4.1"
```

**[View documentation.](https://docs.rs/dec/0.4.0/)**
**[View documentation.](https://docs.rs/dec/0.4.1/)**

## decnumber-sys [![crates.io](https://img.shields.io/crates/v/decnumber-sys.svg)](https://crates.io/crates/decnumber-sys)

Expand Down
7 changes: 6 additions & 1 deletion dec/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ All notable changes to this crate will be documented in this file.
The format is based on [Keep a Changelog], and this crate adheres to [Semantic
Versioning].

## Unreleased
## 0.4.1 - 2021-06-03

* Support the following `Decimal` functions:
- `round`
- `trim`
- `from_raw_parts`

* Implement `TryInto<Decimal<N>>` for `f32` and `f64`.

* Implement `From<f32>` and `From<f64>` for `<Decimal<N>>`.

* Change `to_raw_parts` to only return valid digits from a `Decimal`'s `lsu`; it
previously returned the entire `lsu`, including digits that were no longer
valid after e.g. `trim` operations.

## 0.4.0 - 2021-05-20

* Add the following methods:
Expand Down
2 changes: 1 addition & 1 deletion dec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/MaterializeInc/rust-decnumber"
license = "Apache-2.0"
categories = ["api-bindings"]
keywords = ["decimal", "decnumber"]
version = "0.4.0"
version = "0.4.1"
edition = "2018"

[dependencies]
Expand Down

0 comments on commit 5bf1f3d

Please sign in to comment.