Commit 4fca27e
authored
chore(deps): bump tempfile from 3.24.0 to 3.27.0 (#252)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.24.0 to
3.27.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md">tempfile's
changelog</a>.</em></p>
<blockquote>
<h2>3.27.0</h2>
<p>This release adds <code>TempPath::try_from_path</code> and deprecates
<code>TempPath::from_path</code>.</p>
<p>Prior to this release, <code>TempPath::from_path</code> made no
attempts to convert relative paths into absolute paths. The following
code would have deleted the wrong file:</p>
<pre lang="rust"><code>let tmp_path =
TempPath::from_path("foo")
std::env::set_current_dir("/some/other/path").unwrap();
drop(tmp_path);
</code></pre>
<p>Now:</p>
<ol>
<li><code>TempPath::from_path</code> will attempt to convert relative
paths into absolute paths. However, this isn't always possible as we
need to call <code>std::env::current_dir</code>, which can fail. If we
fail to convert the relative path to an absolute path, we simply keep
the relative path.</li>
<li>The <code>TempPath::try_from_path</code> behaves exactly like
<code>TempPath::from_path</code>, except that it returns an error if we
fail to convert a relative path into an absolute path (or if the passed
path is empty).</li>
</ol>
<p>Neither function attempt to verify the existence of the file in
question.</p>
<p>Thanks to <a
href="https://github.com/meng-xu-cs"><code>@meng-xu-cs</code></a> for
reporting this issue.</p>
<h2>3.26.0</h2>
<ul>
<li>Support <code>NamedTempFile::persist</code> on RedoxOS (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/393">#393</a>)
(thanks to <a
href="https://github.com/Andy-Python-Programmer"><code>@Andy-Python-Programmer</code></a>).</li>
</ul>
<h2>3.25.0</h2>
<ul>
<li>Allow <code>getrandom</code> 0.4.x while retaining support for
<code>getrandom</code> 0.3.x.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Stebalien/tempfile/commit/5c8fa12eb584931b4f1bccfde87eb72fbfa7dc61"><code>5c8fa12</code></a>
chore: release 3.27.0</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/e34e5748d66a48073ec8e1e6ba37338eecca4548"><code>e34e574</code></a>
test: disable uds conflict test on redox</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/772c795a27342089dd0dc48125b82454e75ac38d"><code>772c795</code></a>
test: add CWD guards</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/2632fb9e9465b86141b5bbe47b07dbf5b7110072"><code>2632fb9</code></a>
fix: resolve relative paths when constructing <code>TempPath</code></li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/929a1127bde5046733d535281203bf8ec1bf2c9e"><code>929a112</code></a>
chore: release 3.26.0</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/29d6ac501a4543877d2dde01e2f3cae8f14fb292"><code>29d6ac5</code></a>
Add Redox OS CI (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/394">#394</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/375067f0d42efe982498fe07545d29ea8bcf7358"><code>375067f</code></a>
doc(README): document supported platforms</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/d35371725c084d8cfa83479c69ae55f2ab843e50"><code>d353717</code></a>
feat(redox): implement persist() (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/393">#393</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/64114d74349c53b0473ba15a06f64874a0fcb556"><code>64114d7</code></a>
Fix typos in documentation (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/392">#392</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/9a38b8db0b9a7724cbc88801ddf69bc1b3577c94"><code>9a38b8d</code></a>
chore: release 3.25.0</li>
<li>Additional commits viewable in <a
href="https://github.com/Stebalien/tempfile/compare/v3.24.0...v3.27.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent c10356a commit 4fca27e
2 files changed
Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments