Skip to content

Commit

Permalink
Finalized Rust package for version 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Jan 10, 2025
1 parent 788429d commit 516b70e
Show file tree
Hide file tree
Showing 4 changed files with 2,300 additions and 2 deletions.
1 change: 1 addition & 0 deletions rust/trexio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ serde = { version = "1.0", features = ["derive"] }
doctest = false

[dependencies]

4 changes: 3 additions & 1 deletion rust/trexio/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"))
}


Expand Down
Loading

0 comments on commit 516b70e

Please sign in to comment.