[][src]Crate librarian

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

Functions

add_link_search_path

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

download_or_find_file

Download file to the build script output directory and return the file's location

download_or_find_file_to

Download file to the provided directory and return the file's location

extract_archive

Extract the archive to the build script output directory and return the said directory location

extract_archive_to

Extract the archive to the provided directory

install_dylib

Install a single dynamic library with the given name from the given path to the target executable directory

install_dylib_to

Install a single dynamic library with the given name from the given path to the provided directory

install_dylib_with_extension_to

Install a single dynamic library with the given name and extension from the given path to the provided directory

install_dylibs

Install all dynamic libs from the given path to the target executable directory

install_dylibs_to

Install all dynamic libs from the given path to the provided directory

install_dylibs_with_extension_to

Install all dynamic libs with given extension from the given path to the provided directory