File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,23 @@ Release notes are available in [RELEASES.md](RELEASES.md).
29
29
## Compatibility
30
30
31
31
The ` num-bigint ` crate is tested for rustc 1.8 and greater.
32
+
33
+ ## Alternatives
34
+
35
+ While ` num-bigint ` strives for good performance in pure Rust code, other
36
+ crates may offer better performance with different trade-offs. The following
37
+ table offers a brief comparison to a few alternatives.
38
+
39
+ | Crate | License | Min rustc | Implementation |
40
+ | :--------------- | :------------- | :-------- | :------------- |
41
+ | ** ` num-bigint ` ** | MIT/Apache-2.0 | 1.8 | pure rust |
42
+ | [ ` gmp-mpfr-sys ` ] | LGPL-3.0+ | 1.13 | unsafe bindings for [ GMP] |
43
+ | [ ` ramp ` ] | Apache-2.0 | nightly | rust and inline assembly |
44
+ | [ ` rug ` ] | LGPL-3.0+ | 1.18 | safe interface using ` gmp-mpfr-sys ` |
45
+ | [ ` rust-gmp ` ] | MIT | stable? | safe bindings for [ GMP] |
46
+
47
+ [ GMP ] : https://gmplib.org/
48
+ [ `gmp-mpfr-sys` ] : https://crates.io/crates/gmp-mpfr-sys
49
+ [ `rug` ] : https://crates.io/crates/rug
50
+ [ `rust-gmp` ] : https://crates.io/crates/rust-gmp
51
+ [ `ramp` ] : https://crates.io/crates/ramp
You can’t perform that action at this time.
0 commit comments