Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to
tempfile
from deprecated temdir
The `tempdir` crate was deprecated by its authors, and `tempfile` is recommended as a replacement. I assume this is the first time that a dependency needs to be removed from `Cargo.toml` files, because I found no functionality to remove the entry. I created an `unset` function analogous to the `set_string` function found in the `cargo_toml.rs` file. Rationale: I do packaging work for rust crates in Debian, and due to it's deprecation, we decided to not package the `tempdir` crate at all, but to submit patches to the projects that still use it instead.
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters