Expand description
Types and functions managing dep-info files.
For more, see the documentation in the fingerprint
module.
Structs§
- Checksum
- Encoded
DepInfo - Same as
RustcDepInfo
except avoids absolute paths as much as possible to allow moving around the target directory. - Rustc
DepInfo - The representation of the
.d
dep-info file generated by rustc
Enums§
- Checksum
Algo - Some algorithms are here to ensure compatibility with possible rustc outputs. The presence of an algorithm here is not a suggestion that it’s fit for use.
- DepInfo
Path Type - Tells the associated path in
EncodedDepInfo::files
is relative to package root, target root, or absolute. - Invalid
Checksum
Constants§
- CURRENT_
ENCODED_ 🔒DEP_ INFO_ VERSION - The current format version of
EncodedDepInfo
.
Functions§
- make_
absolute_ 🔒path - parse_
dep_ info - Parses Cargo’s internal
EncodedDepInfo
structure that was previously serialized to disk. - parse_
rustc_ dep_ info - Parse the
.d
dep-info file generated by rustc. - translate_
dep_ info - Parses the dep-info file coming out of rustc into a Cargo-specific format.