Skip to content

Commit c7783c9

Browse files
committed
Finish tempdir
2 parents 43e9ddd + 8c76749 commit c7783c9

File tree

3 files changed

+451
-0
lines changed

3 files changed

+451
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

66
## Unreleased
77

8+
### Added
9+
10+
- [#7](https://github.com/sunsided/async-tempfile-rs/pull/7):
11+
Added `TempDir` for automatically deleted temporary directories.
12+
813
### Internal
914

1015
- Refactored temporary file name generation.

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@
3434

3535
mod errors;
3636
mod random_name;
37+
mod tempdir;
3738
mod tempfile;
3839

3940
pub use errors::Error;
4041
#[cfg(not(feature = "uuid"))]
4142
pub(crate) use random_name::RandomName;
4243
use std::fmt::Debug;
44+
pub use tempdir::TempDir;
4345
pub use tempfile::TempFile;
4446

4547
/// Determines the ownership of a temporary file or directory.

0 commit comments

Comments
 (0)