Skip to content

Releases: sunsided/async-tempfile-rs

0.7.0

22 Feb 06:14
2414cdf

Choose a tag to compare

To add async-tempfile/0.7.0, run

To install the latest version, run

cargo add async-tempfile

Changes since 0.6.0

Full Changelog: 0.6.0...v0.7.0

Added

  • Added the drop_async functions to provide controlled and async dropping.

0.6.0

30 Jun 11:21
72cc3e5

Choose a tag to compare

To add async-tempfile/0.6.0, run

To install the latest version, run

cargo add async-tempfile

Changes since 0.5.0

Full Changelog: 0.5.0...v0.6.0

Added

  • #7: Added TempDir for automatically deleted temporary directories.

Internal

  • Refactored temporary file name generation.
  • Run tests on Linux, MacOS and Windows.

Pull requests

0.5.0

06 Dec 18:47
b7e3cad

Choose a tag to compare

To add async-tempfile/0.5.0, run

To install the latest version, run

cargo add async-tempfile

Changes since 0.4.0

Changed

  • The new and new_in functions now do not rely on the uuid feature anymore for the generation of temporary file names.
  • The uuid feature is now not enabled by default anymore.

Internal

  • Some unnecessary heap allocations were removed.

0.4.0

16 Jun 19:10
fffc1b6

Choose a tag to compare

async-tempfile/0.4.0

To use it in your project, add:

[dependencies]
async-tempfile = "0.4.0"

Changes since 0.3.0

Added

  • Added uuid as a default crate feature and feature gated all uuid crate related functionality.
  • Added the new_with_name and new_with_name_in methods to use a provided file name.
  • Added the new_with_uuid and new_with_uuid_in methods to use a provided UUID as the file suffix.
  • The library now explicitly declares allow(unsafe_code).