pub fn generate_crate_access(unique_id: &'static str) -> TokenStream {
	if env::var("CARGO_PKG_NAME").unwrap() == "substrate-client" {
		quote!( crate )
	} else {
		let mod_name = generate_hidden_includes_mod_name(unique_id);
		quote!( self::#mod_name::sr_api_client )
	}.into()
}
/// Generates the access to the `substrate_client` crate.
Generates the access to the `substrate_client` crate.
Generates the access to the ` substrate_client ` crate .
pub fn generate_crate_access(unique_id: &'static str) -> TokenStream {
	if env::var("CARGO_PKG_NAME").unwrap() == "substrate-client" {
		quote!( crate )
	} else {
		let mod_name = generate_hidden_includes_mod_name(unique_id);
		quote!( self::#mod_name::sr_api_client )
	}.into()
}
pub fn generate_crate_access ( unique_id : & ' static str ) -> TokenStream { if env :: var ( " " ) . unwrap ( ) == " " { quote ! ( crate ) } else { let mod_name = generate_hidden_includes_mod_name ( unique_id ) ; quote ! ( self mod_name sr_api_client ) } . into ( ) }
Generates the access to the `substrate_client` crate.
Generates the access to the ` substrate_client ` crate .
unique_id
&'static str
unique_id
&'static str