temp-dir: Simple temporary directory with cleanup

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • tempdir

    Discontinued Temporary directory management for Rust

  • I added leak after reading tempdir#36 option to keep a temporary directory after panic, for debugging purposes.

  • tempfile

    Temporary file library for rust

  • tempdir was merged into tempfile.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rust

    Empowering everyone to build reliable and efficient software.

  • Thanks for pointing me to the remove_dir_all crate. I wasn't aware that std::fs::remove_dir_all has issues on Windows. I added a warning to the temp-dir docs.

  • regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

  • forbid(unsafe_code) absolutely is a feature. I've listed it as one on at least one occasion. To me, it's a strong signal that it's very unlikely any unsafe code will appear in the crate. It's a useful signal.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts