gmp-ecm-sys

Crates.iogmp-ecm-sys
lib.rsgmp-ecm-sys
version0.1.0
created_at2024-11-14 19:27:51.700523+00
updated_at2024-11-14 19:27:51.700523+00
descriptionRust low-level bindings for GMP-ECM.
homepage
repositoryhttps://github.com/skyf0l/gmp-ecm-rs
max_upload_size
id1448237
size2,929,322
Skyf0l (skyf0l)

documentation

README

GMP-ECM-sys

Crate.io

Rust low-level bindings for GMP-ECM.

Caching the built C libraries

Building the C libraries can take some time. In order to save compilation time, the built libraries are cached in the user’s cache directory as follows:

  • on GNU/Linux: inside $XDG_CACHE_HOME/gmp-ecm-sys or $HOME/.cache/gmp-ecm-sys
  • on macOS: inside $HOME/Library/Caches/gmp-ecm-sys
  • on Windows: inside {FOLDERID_LocalAppData}\gmp-ecm-sys

To use a different directory, you can set the environment variable GMP_ECM_SYS_CACHE to the desired cache directory. Setting the GMP_ECM_SYS_CACHE variable to an empty string or to a single underscore ("_") will disable caching.

License

The gmp-ecm-sys crate is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the full text of the GNU LGPL and GNU GPL for details.

Commit count: 78

cargo fmt