1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2025-04-23 00:50:12 +02:00

Finalized Rust package for version 2.5.1

This commit is contained in:
Anthony Scemama 2025-01-10 15:22:46 +01:00
parent 788429d063
commit 516b70e266
4 changed files with 2300 additions and 2 deletions

@ -22,3 +22,4 @@ serde = { version = "1.0", features = ["derive"] }
doctest = false
[dependencies]

@ -15,6 +15,7 @@ use pkg_config::Config;
/// 1. pkg-config
/// 2. Environment variable TREXIO_INCLUDE_DIR
/// 3. Common system paths
/// 4. Rust sources (may not be adapted to the installed library)
///
/// If the header is found, the JSON configuration will be extracted and
/// written to trex.json in the output directory
@ -52,7 +53,8 @@ fn find_header_path() -> Option<PathBuf> {
}
}
None
// Default for generating the documentation on Doc.rs
Some(PathBuf::from("src/trexio.h"))
}

2295
rust/trexio/src/trexio.h Normal file

File diff suppressed because it is too large Load Diff

@ -11,7 +11,7 @@
stdenv.mkDerivation rec {
pname = "trexio";
version = "2.5.0";
version = "2.5.1";
src = lib.cleanSourceWith {
src = ../../.;