pub fn generate_access_from_frame_or_crate(
    def_crate: &str,
) -> Result<Path, Error>
Expand description

Generate the crate access for the crate using 2018 syntax.

If frame is in scope, it will use polkadot_sdk_frame::deps::<def_crate>. Else, it will try and find <def_crate> directly.