andfoy / winpty-rs

Create and spawn processes inside a pseudoterminal in Windows from Rust
Other
23 stars 7 forks source link

Update bitflags requirement from 1.3 to 2.3 #56

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on bitflags to permit the latest version.

Release notes

Sourced from bitflags's releases.

2.3.0

Major changes

BitFlags trait deprecated in favor of Flags trait

This release introduces the Flags trait and deprecates the BitFlags trait. These two traits are semver compatible so if you have public API code depending on BitFlags you can move to Flags without breaking end-users. This is possible because the BitFlags trait was never publicly implementable, so it now carries Flags as a supertrait. All implementations of Flags additionally implement BitFlags.

The Flags trait is a publicly implementable version of the old BitFlags trait. The original BitFlags trait carried some macro baggage that made it difficult to implement, so a new Flags trait has been introduced as the One True Trait for interacting with flags types generically. See the the macro_free and custom_derive examples for more details.

Bits trait publicly exposed

The Bits trait for the underlying storage of flags values is also now publicly implementable. This lets you define your own exotic backing storage for flags. See the custom_bits_type example for more details.

What's Changed

Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.1...2.3.0

Changelog

Sourced from bitflags's changelog.

2.3.0

What's Changed

Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.1...2.3.0

2.2.1

What's Changed

Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1

2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0

2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0

2.0.2

What's Changed

Full Changelog: https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2

2.0.1

What's Changed

... (truncated)

Commits
  • 31d3e4a Merge pull request #352 from KodrAus/cargo/2.3.0
  • 51e8197 prepare for 2.3.0 release
  • c947503 Merge pull request #351 from KodrAus/feat/public-traits
  • 796946d add big endian tests to CI
  • ceaa15d fix up serde support
  • 7a6503e add docs for missing iter module
  • 3dfe0b2 tidy up hex flag parsing and formatting
  • 9d2cf9e add more tests around BitFlags to Flags conversion
  • 73f660c add test coverage for more trait methods
  • c5dd5a6 fix up build on MSRV
  • Additional commits viewable in compare view


You can trigger a rebase of this PR 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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

codecov-commenter commented 1 year ago

Codecov Report

Merging #56 (8af282f) into main (88977d9) will decrease coverage by 1.59%. The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
- Coverage   76.58%   75.00%   -1.59%     
==========================================
  Files           8        8              
  Lines        1243     1260      +17     
==========================================
- Hits          952      945       -7     
- Misses        291      315      +24     
Flag Coverage Δ
unittests 75.00% <ø> (-1.59%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

andfoy commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

Looks like bitflags is no longer updatable, so this is no longer needed.