Skip to content

Commit 51eb448

Browse files
bors[bot]AaronKutchcuviper
authored
Merge #247
247: Update alternatives list r=cuviper a=AaronKutch `rust-gmp`, `ramp`, and `apint` are all unmaintained so I removed them. I added a column for fundamental features the crates have and added some new rows. Co-authored-by: Aaron Kutch <[email protected]> Co-authored-by: Josh Stone <[email protected]>
2 parents 5da950d + f6886f5 commit 51eb448

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,23 @@ While `num-bigint` strives for good performance in pure Rust code, other
5050
crates may offer better performance with different trade-offs. The following
5151
table offers a brief comparison to a few alternatives.
5252

53-
| Crate | License | Min rustc | Implementation |
54-
| :--------------- | :------------- | :-------- | :------------- |
55-
| **`num-bigint`** | MIT/Apache-2.0 | 1.31 | pure rust |
56-
| [`ramp`] | Apache-2.0 | nightly | rust and inline assembly (no longer maintained) |
57-
| [`rug`] | LGPL-3.0+ | 1.37 | bundles [GMP] via [`gmp-mpfr-sys`] |
58-
| [`rust-gmp`] | MIT | stable? | links to [GMP] |
59-
| [`apint`] | MIT/Apache-2.0 | 1.26 | pure rust (unfinished) |
53+
| Crate | License | Min rustc | Implementation | Features |
54+
| :--------------- | :------------- | :-------- | :------------- | :------- |
55+
| **`num-bigint`** | MIT/Apache-2.0 | 1.31 | pure rust | dynamic width, number theoretical functions |
56+
| [`awint`] | MIT/Apache-2.0 | 1.66 | pure rust | fixed width, heap or stack, concatenation macros |
57+
| [`bnum`] | MIT/Apache-2.0 | 1.61 | pure rust | fixed width, parity with Rust primitives including floats |
58+
| [`crypto-bigint`] | MIT/Apache-2.0 | 1.57 | pure rust | fixed width, stack only |
59+
| [`ibig`] | MIT/Apache-2.0 | 1.49 | pure rust | dynamic width, number theoretical functions |
60+
| [`rug`] | LGPL-3.0+ | 1.65 | bundles [GMP] via [`gmp-mpfr-sys`] | all the features of GMP, MPFR, and MPC |
61+
62+
[`awint`]: https://crates.io/crates/awint
63+
[`bnum`]: https://crates.io/crates/bnum
64+
[`crypto-bigint`]: https://crates.io/crates/crypto-bigint
65+
[`ibig`]: https://crates.io/crates/ibig
66+
[`rug`]: https://crates.io/crates/rug
6067

6168
[GMP]: https://gmplib.org/
6269
[`gmp-mpfr-sys`]: https://crates.io/crates/gmp-mpfr-sys
63-
[`rug`]: https://crates.io/crates/rug
64-
[`rust-gmp`]: https://crates.io/crates/rust-gmp
65-
[`ramp`]: https://crates.io/crates/ramp
66-
[`apint`]: https://crates.io/crates/apint
6770

6871
## License
6972

0 commit comments

Comments
 (0)