Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fs-err requirement from 2.11.0 to 3.0.0 #83

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2024

Updates the requirements on fs-err to permit the latest version.

Changelog

Sourced from fs-err's changelog.

3.0.0

  • Error messages now include the original message from std::io::Error by default (#60). Previously this was exposed through the Error::source() method. For example, previously a message would look like:

    failed to open file `file.txt`
    

    and you would have to remember to print the source, or use a library like anyhow to print the full chain of source errors. The new error message includes the cause by default

    failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
    

    Note that the original error is no longer exposed though Error::source() by default. If you need access to it, you can restore the previous behaviour with the expose_original_error feature flag.

  • The io_safety feature flag has been removed, and this functionality is now always enabled on Rust versions which support it (1.63.0 and greater).

  • Removed deprecated APIs: File::from_options, tokio::symlink

2.11.0

  • Added the first line of the standard library documentation to each function's rustdocs, to make them more useful in IDEs (#50)
  • Fixed the wrapper for tokio::fs::symlink_dir() on Windows being incorrectly named symlink. The old function is now deprecated and will be removed in the next breaking release.

2.10.0

  • Add fs_err_try_exists to std::path::Path via extension trait. This feature requires Rust 1.63 or later. (#48)

2.9.0

2.8.1

  • Fixed docs.rs build

2.8.0

  • Implement I/O safety traits (AsFd/AsHandle, Into<OwnedFd>/Into<OwnedHandle>) for file. This feature requires Rust 1.63 or later and is gated behind the io_safety feature flag. (#39)

2.7.0

  • Implement From<fs_err::File> for std::fs::File (#38)

2.6.0

... (truncated)

Commits

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [fs-err](https://github.com/andrewhickman/fs-err) to permit the latest version.
- [Changelog](https://github.com/andrewhickman/fs-err/blob/main/CHANGELOG.md)
- [Commits](andrewhickman/fs-err@2.11.0...3.0.0)

---
updated-dependencies:
- dependency-name: fs-err
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 28, 2024
@emarsden emarsden merged commit c5f6854 into main Oct 28, 2024
4 checks passed
@emarsden emarsden deleted the dependabot/cargo/fs-err-3.0.0 branch October 28, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant