Crates.io | temp_file_name |
lib.rs | temp_file_name |
version | 0.1.0 |
source | src |
created_at | 2020-10-23 05:23:03.890433 |
updated_at | 2020-10-23 05:23:03.890433 |
description | generate temporary filenames and paths from a hash of arbitrary data so that they are consistent across different crates. |
homepage | |
repository | https://github.com/fizzbucket/bookbinder |
max_upload_size | |
id | 304570 |
size | 5,641 |
This is a tiny crate with one purpose: generate temporary filenames from a hash of arbitrary data so that they are consistent across different crates. Its intended purpose is to either - give a consistent name, which can -- for example -- be used to cache the expensive output of an input across runs, - or to allow a caller to know what filename a different crate will have given some abstract data. It would be trivially easy to replicate; it exists primarily to allow consistency across otherwise unrelated crates when handling data