Skip to content

Rust interface and wrapper for the kpathsea library

License

Notifications You must be signed in to change notification settings

dginev/rust-kpathsea

Repository files navigation

Build Status API Documentation License crates.io

Rust interface and wrapper for the kpathsea library

Note: Currently there are no safety guarantees and the wrapper is not thread-safe (see #2)

Example

  let kpse = Kpaths::new()
    .expect("You need a properly setup tex toolchain (texlive/MikTeX/...) and kpathsea headers, to use this wrapper.");
  if let Some(path) = kpse.find_file("article.cls") {
    assert!(path.ends_with("article.cls"), "Successfully found the full path of article.cls");
  } else {
    panic!("A tex toolchain was found, but the search failed to detect a class file.");
  }

About

Rust interface and wrapper for the kpathsea library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages