{"repo":"Stebalien/tempfile","free":true,"listed":false,"github":"https://github.com/Stebalien/tempfile","clone":"git clone https://github.com/Stebalien/tempfile.git","description":"Temporary file library for rust","language":"Rust","stars":1457,"topics":["library","rust","tempfile","filesystem-library","testing"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"tempfile A secure, cross-platform, temporary file library for Rust. In addition to creating temporary files, this library also allows users to securely open multiple independent references to the same temporary file (useful for consumer/producer patterns and surprisingly difficult to implement securely). Documentation Usage Minimum required Rust version: 1.63.0 Add this to your Cargo.toml : Supported Platforms This crate supports all major operating systems: - Linux - Android - Linux - BSDs - DragonFly BSD - FreeBSD - MidnightBSD - NetBSD - OpenBSD - Illumos - OpenIndiana - OmniOS - MacOS (ios, watchos, visionos, etc.) - RedoxOS - Wasm - WASI P1 & P2. - Wasm (build and link only, Wasm doesn't have a filesystem) - Windows However: - Android, RedoxOS, Wasm, and WASI targets all require the latest stable rust compiler. - WASI P1/P2 does not define a default temporary directory. You'll need to explicitly call tempfile::env::override temp dir with a valid directory or temporary file creation will panic on this platform. - WASI P1/P2 does not have file permissions. - You may need to override the temporary directory in Android as well to point at your application's per-app cache directory. - None of the BSD/Illumostargets are tested for compatibility with older rust compilers. Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/Stebalien","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Stebalien/tempfile/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}