Registry / utility / temp-file-name

temp-file-name

JSON →
library0.1.0rscratesunverified

Generate temporary filenames and paths from a hash of arbitrary data so that they are consistent across different crates.

# Cargo.toml [dependencies] temp_file_name = "0.1.0"
INSTALL
IMPORT
SIG · TEMP-FILE-NAME
T
temp-file-name
utilityrustv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TempFileName
use temp_file_name::TempFileName;

Generates a temporary filename from arbitrary data.

use temp_file_name::TempFileName; fn main() { let name = TempFileName::new("data"); println!("Temporary filename: {}", name.path().display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
temp-file-name — cargo add temp-file-name · libregistry