ensure_library

Function ensure_library 

Source
pub fn ensure_library() -> Result<PathBuf>
Expand description

Ensure the library is available (for use in build.rs).

This function will:

  1. Check if library exists at configured/default paths
  2. Download if necessary and enabled
  3. Return the path to the library

Does NOT load the library - that happens at runtime.