[][src]Crate librarian

Librarian - a Rust crate for downloading and linking to non-rust libraries from app build scripts

Enums

DownloadError

A type specifying an error that occured during downloading a file

DyLibNameFilter

Dynamic library filter used to specify which library files needs to be copied.

ExtractError

A type specifying an error that occured during an archive extraction

Functions

add_link_search_path

Add a cargo link search path (only works strictly from a build script)

download_or_find_file

Download file if it doesn't already exist, and return the file's location.

extract_archive

Extract the archive and return the path to the extracted files. Only zip archives are supported for now.

install_dylibs

Install all dynamic libs from a directory to the target directory.