docs.rs failed to build feff10-sys-0.1.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
feff10-sys
Low-level FFI bindings and build system for the FEFF10 Fortran library.
This crate compiles the FEFF10 Fortran source into a static library (libfeff10.a) and links it. When the Fortran source is not available (e.g. when installed from crates.io), it automatically downloads a prebuilt library from GitHub releases.
Build modes
| Mode | When | How |
|---|---|---|
| From source | Git checkout with submodule | Detects gfortran/ifx/flang and compiles |
| Prebuilt (auto) | cargo install from crates.io |
Downloads libfeff10.a from GitHub releases |
| Prebuilt (explicit) | --features prebuilt |
Same as auto, forced even when source is present |
| Custom library | FEFF10_LIB_DIR=/path |
Uses your own libfeff10.a |
Environment variables
| Variable | Description |
|---|---|
FEFF_FC |
Fortran compiler path |
FEFF_FFLAGS |
Extra Fortran flags |
FEFF_BLAS |
BLAS/LAPACK linker flags |
FEFF10_LIB_DIR |
Path to prebuilt libfeff10.a |
FEFF10_LIB_SHA256 |
Expected SHA256 of prebuilt library |
See the main project README for full documentation.