Skip to content

Commit

Permalink
Merge #93
Browse files Browse the repository at this point in the history
93: Update num-bigint and release 0.4.0 r=cuviper a=cuviper



Co-authored-by: Josh Stone <[email protected]>
  • Loading branch information
bors[bot] and cuviper authored Mar 6, 2021
2 parents 9af254a + e6634a5 commit 7635b19
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories = ["algorithms", "data-structures", "science", "no-std"]
license = "MIT OR Apache-2.0"
name = "num-rational"
repository = "https://github.com/rust-num/num-rational"
version = "0.3.2"
version = "0.4.0"
readme = "README.md"
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
edition = "2018"
Expand All @@ -20,7 +20,7 @@ features = ["std", "num-bigint-std", "serde"]

[dependencies.num-bigint]
optional = true
version = "0.3.0"
version = "0.4.0"
default-features = false

[dependencies.num-integer]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
num-rational = "0.3"
num-rational = "0.4"
```

## Features
Expand All @@ -23,7 +23,7 @@ the default `std` feature. Use this in `Cargo.toml`:

```toml
[dependencies.num-rational]
version = "0.3"
version = "0.4"
default-features = false
```

Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Release 0.4.0 (2021-03-05)

- The optional `num-bigint` dependency is now 0.4.
- [The `Rational` alias for `Ratio<usize>` is now deprecated][92]. It is
recommended to use specific type sizes for numeric computation, like
`Rational32` and `Rational64`.

**Contributors**: @cuviper, @vks

[92]: https://github.com/rust-num/num-rational/pull/92

# Release 0.3.2 (2020-11-06)

- [Fix always rebuilding with --remap-path-prefix][88]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//!
//! The `num-rational` crate is tested for rustc 1.31 and greater.
#![doc(html_root_url = "https://docs.rs/num-rational/0.3")]
#![doc(html_root_url = "https://docs.rs/num-rational/0.4")]
#![no_std]
// Ratio ops often use other "suspicious" ops
#![allow(clippy::suspicious_arithmetic_impl)]
Expand Down

0 comments on commit 7635b19

Please sign in to comment.