Skip to content

Commit

Permalink
release: 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Oct 16, 2023
2 parents 25fbdc9 + 98a9001 commit c70507a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@



## [0.5.2](https://github.com/Blobfolio/brunch/releases/tag/v0.5.2) - 2023-10-15

### Changed

* Bump `dactyl` to `0.6`



## [0.5.1](https://github.com/Blobfolio/brunch/releases/tag/v0.5.1) - 2023-10-05

### Changed
Expand Down
7 changes: 3 additions & 4 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Project Dependencies
Package: brunch
Version: 0.5.1
Generated: 2023-10-05 19:30:20 UTC
Version: 0.5.2
Generated: 2023-10-16 01:23:24 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.16 | The Rust Project Developers | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.1.11 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | Apache-2.0 or MIT |
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "brunch"
version = "0.5.1"
version = "0.5.2"
authors = ["Blobfolio, LLC. <[email protected]>"]
edition = "2021"
rust-version = "1.70"
Expand Down Expand Up @@ -28,7 +28,7 @@ man-dir = "./"
credits-dir = "./"

[dependencies]
dactyl = "0.5.*"
dactyl = "0.6.*"
unicode-width = "0.1.*"

[dev-dependencies]
Expand Down
7 changes: 5 additions & 2 deletions src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
# Brunch: Math
*/

use dactyl::total_cmp;
use dactyl::{
total_cmp,
traits::IntDivFloat,
};
use std::{
cmp::Ordering,
time::Duration,
Expand Down Expand Up @@ -307,7 +310,7 @@ fn quantile_diff(below: usize, above: usize, ref_below: usize, ref_above: usize)
let below = below.abs_diff(ref_below);
let above = above.abs_diff(ref_above);

dactyl::int_div_float(below + above, 2).unwrap_or_default()
(below + above).div_float(2).unwrap_or_default()
}


Expand Down

0 comments on commit c70507a

Please sign in to comment.