Skip to main content

Crate clang_installer

Crate clang_installer 

Source
Expand description

§clang-installer

A Rust crate to ensure clang-format and/or clang-tidy are installed.

This is a utility for cpp-linter CLI, thus its API is considered internal to cpp-linter crate.

To run the binary for this crate (from git source):

cargo run --bin clang-tools --features bin -- --help

Modules§

utils
A utility module for path normalization.

Structs§

ProgressBar
A simple progress bar implementation that supports both interactive and non-interactive terminals.
PyPiDownloader
A downloader for PyPI releases.
StaticDistDownloader
A downloader that uses statically linked binary distribution files provided by the cpp-linter team.

Enums§

ClangTool
A enumeration of supported clang tools.
DownloadError
An enumeration of possible errors during download operations.
PyPiDownloadError
Errors that occur during PyPI downloads.
RequestedVersion
An enumeration of the possible requested versions of the clang tool binary.
StaticDistDownloadError
An error that can occur while downloading a static binary.

Traits§

Cacher
A trait for caching downloaded data to avoid unnecessary network requests.