pub fn collect_dependency_list() {
    let version_info = VersionInfo::try_from(&get_metadata()).unwrap();
    let json = serde_json::to_string(&version_info).unwrap();
    let compressed_json = compress_to_vec_zlib(json.as_bytes(), choose_compression_level());
    let output_file_path = output_file_path();
    write_dependency_info(&compressed_json, &output_file_path);
    export_dependency_file_path(&output_file_path);
}
/// Run this in your build.rs to collect dependency info and make it avaible to `inject_dependency_list!` macro
Run this in your build.rs to collect dependency info and make it avaible to `inject_dependency_list!` macro
Run this in your build . rs to collect dependency info and make it avaible to ` inject_dependency_list! ` macro
pub fn collect_dependency_list() {
    let version_info = VersionInfo::try_from(&get_metadata()).unwrap();
    let json = serde_json::to_string(&version_info).unwrap();
    let compressed_json = compress_to_vec_zlib(json.as_bytes(), choose_compression_level());
    let output_file_path = output_file_path();
    write_dependency_info(&compressed_json, &output_file_path);
    export_dependency_file_path(&output_file_path);
}
pub fn collect_dependency_list ( ) { let version_info = VersionInfo :: try_from ( & get_metadata ( ) ) . unwrap ( ) ; let json = serde_json :: to_string ( & version_info ) . unwrap ( ) ; let compressed_json = compress_to_vec_zlib ( json . as_bytes ( ) , choose_compression_level ( ) ) ; let output_file_path = output_file_path ( ) ; write_dependency_info ( & compressed_json , & output_file_path ) ; export_dependency_file_path ( & output_file_path ) ; }
Run this in your build.rs to collect dependency info and make it avaible to `inject_dependency_list!` macro
Run this in your build . rs to collect dependency info and make it avaible to ` inject_dependency_list! ` macro