Skip to content

Commit

Permalink
add borsh feature to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacholt100 committed Sep 20, 2024
1 parent 6d7c7a7 commit 7dd9370
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The `rand` feature allows creation of random `bnum` integers via the [`rand`](ht

The `serde` feature enables serialization and deserialization of `bnum` integers via the [`serde`](https://docs.rs/serde/latest/serde/) and [`serde_big_array`](https://docs.rs/serde-big-array/latest/serde_big_array/) crates.

The `borsh`
The `borsh` feature enables serialization and deserialization of `bnum` integers via the [`borsh`](https://docs.rs/borsh/latest/borsh/) crate.

### `num_traits` and `num_integer` trait implementations

Expand Down
2 changes: 1 addition & 1 deletion changes/v0.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- `As` and `CastFrom` traits no longer const, as const trait support removed from latest nightly.
- `cast_signed` method for unsigned integers.
- `cast_unsigned` method for signed integers.
- `midpoint` method for unsigned integers.
- `midpoint` method for integers.
- `carrying_add` and `borrowing_sub` methods for signed integers.
- strict methods added.
- added `(bnum) ` prefix to error messages that were lacking it.
3 changes: 0 additions & 3 deletions src/bint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ macro_rules! ilog {
}
}

// #[cfg(debug_assertions)]
// use crate::errors::option_expect;

use crate::digit;
use crate::ExpType;
use crate::{doc, errors};
Expand Down

0 comments on commit 7dd9370

Please sign in to comment.