I noticed the tests were using the tempdir crate which had been deprecated recently: rust-lang-deprecated/tempdir#45. So this is really just a small clean up to replace tempdir with it's new home, the tempfile crate.
The api for tempdir has been merged into the tempfile. I'm using the Builder struct to create the tempdir with a prefix of "random-access-disk".
I hope this PR isn't too obtrusive, I know it doesn't add much but I'm hoping it helps a little in the grand scheme 😄
Semver Changes
patch
p.s., thank you for making this crate! It's been wonderful seeing Dat be made in rust, and it's inspired me to try to learn rust as well!
this is a 🙋 feature
Checklist
Context
I noticed the tests were using the
tempdir
crate which had been deprecated recently: rust-lang-deprecated/tempdir#45. So this is really just a small clean up to replacetempdir
with it's new home, the tempfile crate.The api for
tempdir
has been merged into thetempfile
. I'm using the Builder struct to create the tempdir with a prefix of"random-access-disk"
.I hope this PR isn't too obtrusive, I know it doesn't add much but I'm hoping it helps a little in the grand scheme 😄
Semver Changes
patch
p.s., thank you for making this crate! It's been wonderful seeing Dat be made in rust, and it's inspired me to try to learn rust as well!