Skip to content

Commit

Permalink
Version 1.25 (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
paupino committed Jun 14, 2022
1 parent 7508015 commit 4b7cdd9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Version History

## 1.25.0

### Added

* Expands `rand` support to implement `SampleUniform` to allow for `rng.gen_range` calls ([#519](https://github.com/paupino/rust-decimal/pull/519))
* Adds [`rkyv` framework](https://github.com/rkyv/rkyv) support for zero-cost (de)serialization ([#520](https://github.com/paupino/rust-decimal/pull/520))

A big thank you to [@lukesneeringer](https://github.com/lukesneeringer) and [@dovahcrow](https://github.com/dovahcrow) for your help building
features for this release.

## 1.24.0

* Introduces new feature `rand` which allows for random number generation within `rust_decimal` ([#517](https://github.com/paupino/rust-decimal/pull/517)).
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"
name = "rust_decimal"
readme = "./README.md"
repository = "https://github.com/paupino/rust-decimal"
version = "1.24.0"
version = "1.25.0"
build = "build.rs"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,13 @@ args = ["test", "--workspace", "--tests", "--features=serde-with-str", "serde",

[tasks.test-borsh]
command = "cargo"
args = ["test", "--workspace", "--features=borsh"]
args = ["test", "--workspace", "--features=borsh", "--", "--skip", "generated"]

[tasks.test-rkyv]
command = "cargo"
args = ["test", "--workspace", "--features=rkyv", "--features=rkyv-safe"]
args = ["test", "--workspace", "--features=rkyv", "--features=rkyv-safe", "--", "--skip", "generated"]

[tasks.test-rand]
command = "cargo"
args = ["test", "--workspace", "--features=rand"]
args = ["test", "--workspace", "--features=rand", "--", "--skip", "generated"]

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ To get started, add `rust_decimal` and optionally `rust_decimal_macros` to your

```toml
[dependencies]
rust_decimal = "1.24"
rust_decimal_macros = "1.24"
rust_decimal = "1.25"
rust_decimal_macros = "1.25"
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_decimal_macros"
version = "1.24.0"
version = "1.25.0"
authors = ["Paul Mason <paul@form1.co.nz>"]
edition = "2021"
description = "Shorthand macros to assist creating Decimal types."
Expand All @@ -12,7 +12,7 @@ categories = ["science","data-structures"]
license = "MIT"

[dependencies]
rust_decimal = { path = "..", version = "1.23.1", default-features = false }
rust_decimal = { path = "..", version = "1.25", default-features = false }
quote = "1.0"

[dev-dependencies]
Expand Down

0 comments on commit 4b7cdd9

Please sign in to comment.