1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! FFI bindings for cuEST (CUDA Electronic Structure Toolkit).
//!
//! This crate provides raw, unsafe FFI bindings to the cuEST C API,
//! one-to-one with the C declarations. Prefer a safe wrapper (e.g.
//! `cuest-cudarc`) over using this crate directly.
//!
//! The bindings are auto-generated from the cuEST public C headers; do not
//! edit the generated files manually. See `scripts/generate_ffi.py`.
//!
//! cuEST itself is NVIDIA proprietary software and is not distributed with
//! this crate; see the readme for how to obtain it and point this crate to it.
//!
//! # Loading Modes
//!
//! - **Dynamic loading** (default, `dynamic_loading` feature): `libcuest` is
//! loaded at runtime via `libloading`. Set `CUEST_DYLOAD` to the library
//! path, or let the crate search standard locations (see `ffi_dynamic` module
//! documentation).
//! - **Static linking** (`--no-default-features`): links `libcuest` at build
//! time. Set `CUEST_LIB_DIR` if the library is in a nonstandard location.
// Doxygen markers in the cuEST header comments (`[in]`, `[out]`, `<N>`, ...)
// are not rustdoc links or HTML; keep the original comment text as-is.
pub use ffi_static as ffi;
pub use ffi_dynamic as ffi;