Crate leach

Source

Re-exports§

pub use ::bindgen;
pub use ::build_helper;
pub use filetime;
pub use regex;
pub use walkdir;

Modules§

bin
cargo
cmake
env
Inspection and manipulation of the process’s environment.
fs
Filesystem manipulation operations.
io
Traits, helpers, and type definitions for core I/O functionality.
metadata
rustc
semver
Semantic version parsing and comparison.
target

Macros§

env
Inspects an environment variable at compile time.
warning
Instructs Cargo to display a warning.

Structs§

DirEntry
A directory entry.
FileTime
A helper structure to represent a timestamp for a file.
HashSet
A hash set implemented as a HashMap where the value is ().
InvalidInput
Error type indicating a string parse failed due to invalid input.
Path
A slice of a path (akin to str).
PathBuf
An owned, mutable path (akin to String).
RefCell
A mutable memory location with dynamically checked borrow rules
Regex
A compiled regular expression for searching Unicode haystacks.
RegexSet
Match multiple, possibly overlapping, regexes in a single search.
Triple
Platform triple.
WalkDir
A builder to create an iterator for recursively walking a directory.

Enums§

Atomic
Represents an atomic type supported by a target.
Endianness
Represents the target platform’s endianness.
LibKind
Library linkage kind.
Profile
A build profile.
SearchKind
Library search path kind.

Traits§

BufRead
A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
Write
A trait for objects which are byte-oriented sinks.

Functions§

canon_feature_name
Upper-case seperated with ‘_’
debug
Is this a debug build?
host
Host platform triple.
num_jobs
Number of top-level parallel jobs.
opt_level
Optimisation level.
out_dir
Output directory for build script outputs.
profile
Build profile.
realpath
Get the real path, or the original value if the path is not existent.
rerun_if_changed
Specify a file or directory which, if changed, should trigger a rebuild.
unix
Is this build targeting a UNIX platform?
warning
Instructs Cargo to display a warning.
windows
Is this build targetting Microsoft Windows?