async-tempfile-rs

Automatically deleted async I/O temporary files in Rust

MIT License

Downloads
243.8K
Stars
8
Committers
1
async-tempfile-rs - 0.6.0 Latest Release

Published by sunsided 4 months ago

To add async-tempfile/0.6.0, run

cargo add [email protected]

To install the latest version, run

cargo add async-tempfile

Changes since 0.5.0

Full Changelog: https://github.com/sunsided/async-tempfile-rs/compare/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

async-tempfile-rs - 0.5.0

Published by sunsided 11 months ago

To add async-tempfile/0.5.0, run

cargo add [email protected]

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.
async-tempfile-rs - 0.4.0

Published by sunsided over 1 year ago

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).
Package Rankings
Top 21.68% on Crates.io
Badges
Extracted from project README
Crates.io Crates.io docs.rs codecov