Skip to content

Commit

Permalink
bump version to 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacholt100 committed Jan 1, 2025
1 parent 8744acc commit a70a625
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bnum"
version = "0.12.0"
version = "0.12.1"
authors = ["isaac-holt <isaac_holt@icloud.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ This crate uses Rust's const generics to allow creation of integers of arbitrary
To install and use `bnum`, simply add the following line to your `Cargo.toml` file in the `[dependencies]` section:

```toml
bnum = "0.12.0"
bnum = "0.12.1"
```

Or, to enable various `bnum` features as well, add for example this line instead:

```toml
bnum = { version = "0.12.0", features = ["rand"] } # enables the "rand" feature
bnum = { version = "0.12.1", features = ["rand"] } # enables the "rand" feature
```

## Example Usage
Expand Down
1 change: 1 addition & 0 deletions src/buint/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ macro_rules! as_buint {
use crate::cast::CastFrom;
use crate::doc;
use crate::ExpType;
#[allow(unused_imports)]
use crate::cast::float::{FloatMantissa, CastUintFromFloatHelper, CastFloatFromUintHelper};

macro_rules! cast {
Expand Down
2 changes: 1 addition & 1 deletion src/buint/numtraits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ use num_traits::{
AsPrimitive, Bounded, CheckedAdd, CheckedDiv, CheckedMul, CheckedNeg, CheckedRem, CheckedShl,
CheckedShr, CheckedSub, CheckedEuclid, Euclid, FromPrimitive, MulAdd, MulAddAssign, Num, One, /*ConstOne,*/ Pow, PrimInt,
Saturating, SaturatingAdd, SaturatingMul, SaturatingSub, ToPrimitive, Unsigned, WrappingAdd,
WrappingMul, WrappingNeg, WrappingShl, WrappingShr, WrappingSub, Zero, ConstZero
WrappingMul, WrappingNeg, WrappingShl, WrappingShr, WrappingSub, Zero, //ConstZero
};

use crate::cast::CastFrom;
Expand Down

0 comments on commit a70a625

Please sign in to comment.