Skip to main content

lower_dar

Function lower_dar 

Source
pub fn lower_dar(dar: &Dar) -> Result<(Crate, Vec<SkippedType>), DecodeError>
Expand description

Lower a whole DAR (its main package and its full dependency closure) into a Crate of qualified modules, plus the list of types that could not be lowered (best-effort: see SkippedType).

§Errors

Returns DecodeError if any package’s bytes are malformed or not LF 2.x.