flint-sys 0.9.0

Bindings to the FLINT C library
Documentation

flint-sys

Rust bindings to the FLINT library.

FLINT (Fast Library for Number Theory) is a C library which provides a number of number theoretic and algebraic functions and types.

Many aspects of flint-sys are inspired by the gmp-mpfr-sys library.

Usage

See the documentation. This crate is available on crates.io.

Optional features

  • disable-make-check: this can reduce compilation time significantly. Enabled by default.

Caching

Built libraries are cached in the user’s cache directory as follows:

  • GNU/Linux: inside $XDG_CACHE_HOME/gmp-mpfr-sys or $HOME/.cache/gmp-mpfr-sys

  • macOS: inside $HOME/Library/Caches/gmp-mpfr-sys

  • Windows: inside {FOLDERID_LocalAppData}\gmp-mpfr-sys

Notes

  • WSL users may need to install clang.

  • As of version 0.6.0 the FLINT source files are now included and the library is compiled automatically. The files are cached to avoid unnecessary compilations.