PackageTrack
Sign in Get early access

gmp-mpfr-sys

Rust FFI bindings for GMP, MPFR and MPC.

1.7.1 5.6M downloads/mo #4278 most downloaded on crates.io source

What this package is like to depend on

Last release 4 months ago

25 Apr 2026

Release timing varies

gaps range from 2 weeks to 10 months

Most releases are documented

notes for 59 of 72 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

72 releases · first in 2017

3 releases in the last 12 months

see the full history below

Release timeline

72 releases · Jan 2017 to Apr 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 72
  1. 1.7.1 25 Apr 2026
    Release notes
    • [MPC] was updated from version 1.4.0 to 1.4.1.
    Open source →
  2. 1.7.0 19 Mar 2026
    Release notes
    • The crate now requires rustc version 1.71.0 or later.
      • [MPC] was updated from version 1.3.1 to 1.4.0.
    Open source →
  3. 1.6.8 03 Sep 2025
    Release notes
    Open source →
  4. 1.6.7 21 Aug 2025
    Release notes
    • [GMP] was failing to compile on GCC 15 (issue 39).
    Open source →
  5. 1.6.5 20 Mar 2025
    Release notes
    • [MPFR] was updated from version 4.2.1 to 4.2.2.
      • 32-bit MSYS2 MinGW is no longer tested and mentioned in the documentation.
    Open source →
  6. 1.6.4 05 Jun 2024
    Release notes
    • The license headers in the documentation for the GNU libraries were being inadvertently removed from the html files (issue 34).
    Open source →
  7. 1.6.3 30 May 2024
    Release notes
    • Make cross-compiling to MinGW use a host understood by [GMP] (merge request 5).
    Open source →
  8. 1.6.2 20 Jan 2024
    Release notes
    • Bug fix: when using system libs, the build would fail for some cases (issue 32).
    Open source →
  9. 1.6.1 23 Aug 2023
    Release notes
    • [MPFR] was updated from version 4.2.0-p12 to 4.2.1.
    Open source →
  10. 1.6.0 30 Jul 2023
    Release notes
    • [GMP] was updated from version 6.2.1 to 6.3.0.
      • [MPFR] was updated from version 4.2.0-p9 to 4.2.0-p12.
    Open source →
  11. 1.5.3 22 May 2023
    Release notes
    • [MPFR] was updated from version 4.2.0 to 4.2.0-p9.
    Open source →
  12. 1.5.2 26 Mar 2023
    Release notes
    • Bug fix: <code>[mpfr][mpfr-1-5]::pow_sj</code> and <code>[mpfr][mpfr-1-5]::pow_uj</code> were linking to the wrong MPFR function name (issue 30).
    Open source →
  13. 1.5.1 28 Feb 2023
    Release notes
    Open source →
  14. 1.5.0 06 Jan 2023
    Release notes
    Open source →
  15. 1.4.13 28 Feb 2023
    Release notes
    Open source →
  16. 1.4.12 11 Dec 2022
    Release notes
    • [MPFR] was updated from version 4.1.1 to 4.1.1-p1.
      • Bug fix: compilation fixed for new git repositories without HEAD, such as for a new cargo project (issue 27).
    Open source →
  17. 1.4.11 17 Nov 2022
    Release notes
    • [MPFR] was updated from version 4.1.0-p13 to 4.1.1.
    Open source →
  18. 1.4.10 06 Aug 2022
    Release notes
    • All the changesets until 402b9c4efacb from the [gmp-6.2 branch] of [GMP] were merged.
      • [MPFR] is now configured with --disable-decimal-float --disable-float128 which avoids some failed tests with Clang in some situations.
      • Build caching should now work properly when the CFLAGS environment variable is set during compilation.
    Open source →
  19. 1.4.9 20 Jul 2022
    Release notes
    Open source →
  20. 1.4.8 12 Apr 2022
    Release notes
    • Bug fix: <code>[mpfr][mpfr-1-4]::[rootn_ui][mpfr-ru-1-4]</code> was linking to the MPFR function mpfr_root instead of mpfr_rootn_ui.
    Open source →
  21. 1.4.7 23 Sep 2021
    Release notes
    • Bug fix: prefer CC environment variable over gcc when probing system libraries for the use-system-libs feature (issue 20).
    Open source →
  22. 1.4.6 29 Jul 2021
    Release notes
    • [MPFR] was updated from version 4.1.0-p12 to 4.1.0-p13.
    Open source →
  23. 1.4.5 23 Apr 2021
    Release notes
    • [MPFR] was updated from version 4.1.0-p11 to 4.1.0-p12.
    Open source →
  24. 1.4.4 25 Mar 2021
    Release notes
    • [MPFR] was updated from version 4.1.0-p7 to 4.1.0-p11.
    Open source →
  25. 1.4.3 14 Feb 2021
    Release notes
    • [MPFR] was updated from version 4.1.0 to 4.1.0-p7.
      • The [GMP_MPFR_SYS_CACHE][cache-1-4] environment variable can now also be set to a single underscore ("_") to disable caching, in case setting it to an empty string is not possible in some system.
    Open source →
  26. 1.4.2 18 Nov 2020
    Release notes
    • [GMP] was updated from version 6.2.0 to 6.2.1.
    Open source →
  27. 1.4.1 25 Oct 2020
    Release notes
    • [MPC] was updated from version 1.2.0 to 1.2.1.
      • The [c-no-tests][feat-exp-1-4] experimental feature was added.
    Open source →
  28. 1.4.0 02 Sep 2020
    Release notes
    • [MPC] was updated from version 1.1.0 to 1.2.0.
    Open source →
  29. 1.3.1 17 Jul 2020
    Release notes
    • Fixed MSYS2 build for rustc 1.46.0.
    Open source →
  30. 1.3.0 13 Jul 2020
    Release notes
    • [MPFR] was updated from version 4.0.2-p9 to 4.1.0.
      • The internal details of <code>gmp::mpz_t</code>, <code>gmp::mpf_t</code>, <code>gmp::randseed_t</code> and <code>mpfr::mpfr_t</code> have been changed to use [NonNull] instead of [mutable pointers][pointer].
      • The internal details of <code>gmp::randfnptr_t</code> have been changed to reflect that its functions are not nullable.
      • Cross compilation will now fail if the experimental feature force-cross is not enabled, because cross compilation is not tested or supported and can lead to silent failures that are hard to debug, especially if this crate is an indirect dependency.
    Open source →
  31. 1.2.4 14 Jun 2020
    Release notes
    • [MPFR] was updated from version 4.0.2-p7 to 4.0.2-p9.
    Open source →
  32. 1.2.3 01 Jun 2020
    Release notes
    • The experimental feature force-cross was added. It is ignored in version 1.2 but will be required for cross compilation attempts from version 1.3, because cross compilation is not tested or supported and can lead to silent failures that are hard to debug, especially if this crate is an indirect dependency.
      • Bug fix: cross-compilation C libraries were being cached in the same directory as native C libraries.
    Open source →
  33. 1.2.2 08 Apr 2020
    Release notes
    • [MPFR] was updated from version 4.0.2-p1 to 4.0.2-p7.
      • The missing function <code>[gmp][gmp-1-2]::[MPZ_ROINIT_N][gmp-mrn-1-2]</code> was added.
      • The missing macro [MPFR_DECL_INIT][mpfr-di-1-2] was added.
    Open source →
  34. 1.2.1 13 Mar 2020
    Release notes
    • Some improvements were made to enable compilation or cross compilation on more platforms. While such platforms are not tested automatically and may not work, merge requests that improve the situation are accepted.
    Open source →
  35. 1.2.0 18 Jan 2020
    Release notes
    • The crate now requires rustc version 1.37.0 or later.
      • The crate now supports [no_std].
      • [GMP] was updated from version 6.1.2 to 6.2.0.
      • The implementation details of <code>gmp::randstate_t</code> have been changed to reflect that [GMP] can leave some fields unused and uninitialized.
      • The experimental feature use-system-libs was added.
    Open source →
  36. 1.1.14 04 Jul 2019
    Release notes
    • [MPFR] was updated from version 4.0.2 to 4.0.2-p1.
      • The documentation examples now use [MaybeUninit] instead of <code>[mem][mem]::[uninitialized][uninitialized]</code>.
    Open source →
  37. 1.1.13 17 May 2019
    Release notes
    • Expose the internal fields of <code>[gmp][gmp-1-1]::[mpq_t][gmp-mpq-1-1]</code>, <code>[gmp][gmp-1-1]::[randstate_t][gmp-rs-1-1]</code> and <code>[mpc][mpc-1-1]::[mpc_t][mpc-mpc-1-1]</code>, and add some notes about compatibility in the documentation.
    Open source →
  38. 1.1.12 08 Mar 2019
    Release notes
    • The built C libraries are now cached.
    Open source →
  39. 1.1.11 01 Feb 2019
    Release notes
    • Update [MPFR] 4.0.1-p14 -> 4.0.2.
    Open source →
  40. 1.1.10 04 Jan 2019
    Release notes
    • Update [MPFR] 4.0.1-p13 -> 4.0.1-p14.
      • During Windows build use <code>[std][std]::[os][os]::[windows][windows]::[fs][fs]::[symlink_dir][symlink_dir]</code> to save on some copying if allowed (Windows 1703+ developer mode).
    Open source →
  41. 1.1.9 05 Oct 2018
    Release notes
    • Update [MPFR] 4.0.1-p11 -> 4.0.1-p13.
      • Fix function parameters that should be [intmax_t][libc-intmax-0-2] or [uintmax_t][libc-uintmax-0-2].
    Open source →
  42. 1.1.8 23 Jul 2018
    Release notes
    • Update [MPFR] 4.0.1-p9 -> 4.0.1-p11.
    Open source →
  43. 1.1.7 11 Jul 2018
    Release notes
    • Update [MPFR] 4.0.1-p6 -> 4.0.1-p9.
    Open source →
  44. 1.1.6 29 May 2018
    Release notes
    • Automatically work around [Rust issue 47048][rust-47048].
    Open source →
  45. 1.1.5 02 May 2018
    Release notes
    • Update [MPFR] 4.0.1 -> 4.0.1-p6.
    Open source →
  46. 1.1.4 23 Apr 2018
    Release notes
    • Add missing [GMP], [MPFR] and [MPC] functions that take a <code>[*mut][pointer] [FILE][libc-FILE-0-2]</code> argument.
    Open source →
  47. 1.1.3 05 Apr 2018
    Release notes
    • Fix linkage of [MPFR] uj and sj functions.
    Open source →
  48. 1.1.2 05 Apr 2018
    Release notes
    • Add missing [MPFR] and [MPC] functions with uj and sj, using [c_ulonglong] and [c_longlong] respectively.
      • Add missing [MPFR] [dump][mpfr-dump-1-1] function.
    Open source →
  49. 1.1.1 08 Feb 2018
    Release notes
    • Update [MPFR] 4.0.0 -> 4.0.1.
      • Fix the type of the tab parameter of <code>[mpfr][mpfr-1-1]::[sum][mpfr-sum-1-1]</code> to <code>[*const][pointer] [*mut][pointer] [mpfr_t][mpfr-mpfr-1-1]</code> instead of <code>[*mut][pointer] [*mut][pointer] [mpfr_t][mpfr-mpfr-1-1]</code>.
      • Document the DEP_GMP_LIMB_BITS build script metadata.
      • Add DEP_GMP_OUT_DIR, DEP_GMP_LIB_DIR, and DEP_GMP_INCLUDE_DIR build script metadata.
    Open source →
  50. 1.1.0 12 Jan 2018
    Release notes
    • Update [MPFR] 3.1.6-p1 -> 4.0.0.
      • Update [MPC] 1.0.3 -> 1.1.0.
      • Deprecate and hide documentation for <code>mpfr::rnd_t::RNDNA</code>; MPFR_RNDNA is not documented by [MPFR], and mpfr.h says it should not be used.
      • Use [c_int] instead of <code>[#[repr(C)]][repr-C] [enum]</code> for the private enumerated type inside <code>[#[repr(C)]][repr-C] [struct] randstate_t</code>.
    Open source →
  51. 1.0.8 08 Nov 2017
    Release notes
    • Update [MPFR] 3.1.6 -> 3.1.6-p1.
    Open source →
  52. 1.0.7 10 Sep 2017
    Release notes
    • Update [MPFR] 3.1.5-p9 -> 3.1.6.
    Open source →
  53. 1.0.6 24 Jul 2017
    Release notes
    • Update [MPFR] 3.1.5-p8 -> 3.1.5-p9.
    Open source →
  54. 1.0.5 26 Jun 2017
    Release notes
    • Bug fix: use C linkage for inline functions.
    Open source →
  55. 1.0.4 20 Jun 2017
    Release notes
    • Update [MPFR] 3.1.5 -> 3.1.5-p8.
    Open source →
  56. 1.0.3 06 Jun 2017
    Release notes
    • Add <code>[gmp][gmp-1-0]::[mpq_numref_const][gmp-mnc-1-0]</code>, <code>[gmp][gmp-1-0]::[mpq_denref_const][gmp-mdc-1-0]</code>, <code>[mpc][mpc-1-0]::[realref_const][mpc-rc-1-0]</code> and <code>[mpc][mpc-1-0]::[imagref_const][mpc-ic-1-0]</code>.
      • Add inline version of functions which are inline in gmp.h and mpfr.h.
      • Bug fix: <code>[gmp][gmp-1-0]::[mpz_even_p][gmp-mep-1-0]</code>.
    Open source →
  57. 1.0.2 20 May 2017
    Release notes
    • Add features mpfr and mpc, which are enabled by default, to allow opting out of the [MPFR] and [MPC] libraries.
    Open source →
  58. 1.0.1 06 May 2017
    Release notes
    • Expliciltly link to gcc_eh and pthread under MinGW.
    Open source →
  59. 1.0.0 24 Apr 2017
    Release notes
    Open source →
  60. 0.6.0 06 Feb 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive