Skip to main content

implied_crate_deps

Function implied_crate_deps 

Source
pub fn implied_crate_deps(
    rust_code: &str,
    requires: &[CrateDependency],
) -> Vec<&'static str>
Expand description

The third-party crates the generated Rust names DIRECTLY (not through the runtime crates), each as its [dependencies] line: declared iff the code uses it, and never when a ## Requires already brought it in (a duplicate key is a manifest error). The ONE list every generated manifest — the largo build project and the staged checking project — takes its implied dependencies from.