exercism / rust-test-runner

GNU Affero General Public License v3.0
3 stars 15 forks source link

Bump the all group across 1 directory with 5 updates #147

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps the all group with 4 updates in the /local-registry directory: derive_more, ndarray, rstest and serde.

Updates derive_more from 0.99.18 to 1.0.0

Release notes

Sourced from derive_more's releases.

v1.0.0 - Finally a stable release

derive_more is a library that adds derives for many of the standard library traits. By using this library the following code just works:

use derive_more::{Add, Display, From, Into};

#[derive(PartialEq, From, Add)] struct MyInt(i32);

#[derive(PartialEq, From, Into)] struct Point2D { x: i32, y: i32, }

#[derive(PartialEq, From, Add, Display)] enum MyEnum { #[display("int: {_0}")] Int(i32), Uint(u32), #[display("nothing")] Nothing, }

assert!(MyInt(11) == MyInt(5) + 6.into()); assert!((5, 6) == Point2D { x: 5, y: 6 }.into()); assert!(MyEnum::Int(15) == (MyEnum::Int(8) + 7.into()).unwrap()); assert!(MyEnum::Int(15).to_string() == "int: 15"); assert!(MyEnum::Uint(42).to_string() == "42"); assert!(MyEnum::Nothing.to_string() == "nothing");

Now, more than 8 years after the first commit and almost 5 years after the 0.99.0 release, derive_more has finally reached its 1.0.0 release. This release contains a lot of changes (including some breaking ones) to make it easier to use the derives and make it possible to extend them without having to break backwards compatibility again. There are five major changes that I would like to call out, but there are many more changes that are documented below:

  1. There is a new Debug derive that can be used to easily customize Debug formatting.
  2. A greatly improved Display derive, which allows you to do anything that thiserror provides, but it works for any type not just errors. And by combining the Display derive with the Error and From derives, there shouldn't really be any need to use thiserror anymore (if you are missing a feature/behaviour from thiserror please report an issue).
  3. Traits that can return errors now return a type that implements Error when an error occurs instead of a &'static str.
  4. When using use derive_more::SomeTrait the actual trait is also imported not just the derive macro. This is especially useful for Error and Display
  5. The docs are now rendered on docs.rs and are much better overall.

Breaking changes

  • The minimum supported Rust version (MSRV) is now Rust 1.75.
  • Add the std feature which should be disabled in no_std environments.
  • All Cargo features, except std, are now disabled by default. The full feature can be used to get the old behavior of supporting all possible derives.
  • The TryFrom, Add, Sub, BitAnd, BitOr, BitXor, Not and Neg derives now return a dedicated error type instead of a &'static str on error.
  • The FromStr derive now uses a dedicated FromStrError error type instead of generating unique one each time.
  • The Display derive (and other fmt-like ones) now uses #[display("...", (<expr>),*)] syntax instead of #[display(fmt = "...", ("<expr>"),*)], and #[display(bound(<bound>))] instead of #[display(bound = "<bound>")]. So without the double quotes around the expressions and bounds.
  • The Debug and Display derives (and other fmt-like ones) now transparently delegate to the inner type when #[display("...", (<expr>),*)] attribute is trivially substitutable with a transparent call. (#322)

... (truncated)

Changelog

Sourced from derive_more's changelog.

1.0.0 - 2024-08-07

More than 8 years after the first commit and almost 5 years after the 0.99.0 release, derive_more has finally reached its 1.0.0 release. This release contains a lot of changes (including some breaking ones) to make it easier to use the derives and make it possible to extend them without having to break backwards compatibility again. There are five major changes that I would like to call out, but there are many more changes that are documented below:

  1. There is a new Debug derive that can be used to easily customize Debug formatting.
  2. A greatly improved Display derive, which allows you to do anything that thiserror provides, but it works for any type not just errors. And by combining the Display derive with the Error and From derives, there shouldn't really be any need to use thiserror anymore (if you are missing a feature/behaviour from thiserror please report an issue).
  3. Traits that can return errors now return a type that implements Error when an error occurs instead of a &'static str.
  4. When using use derive_more::SomeTrait the actual trait is also imported not just the derive macro. This is especially useful for Error and Display
  5. The docs are now rendered on docs.rs and are much better overall.

Breaking changes

  • The minimum supported Rust version (MSRV) is now Rust 1.75.
  • Add the std feature which should be disabled in no_std environments.
  • All Cargo features, except std, are now disabled by default. The full feature can be used to get the old behavior of supporting all possible derives.
  • The TryFrom, Add, Sub, BitAnd, BitOr, BitXor, Not and Neg derives now return a dedicated error type instead of a &'static str on error.
  • The FromStr derive now uses a dedicated FromStrError error type instead of generating unique one each time.
  • The Display derive (and other fmt-like ones) now uses #[display("...", (<expr>),*)] syntax instead of #[display(fmt = "...", ("<expr>"),*)], and #[display(bound(<bound>))] instead of #[display(bound = "<bound>")]. So without the double quotes around the expressions and bounds.
  • The Debug and Display derives (and other fmt-like ones) now transparently delegate to the inner type when #[display("...", (<expr>),*)] attribute is trivially substitutable with a transparent call. (#322)
  • The DebugCustom derive is renamed to just Debug (gated now under a separate debug feature), and its semantics were changed to be a superset of std variant of Debug.
  • The From derive doesn't derive From<()> for enum variants without any fields anymore. This feature was removed because it was considered useless in

... (truncated)

Commits
  • d7f5b9e chore: Release
  • 40201b1 Update release date to be correct
  • 88863ca Update changelog wording
  • b713835 Improve error when not enabling any features
  • 330e425 Order features in Cargo.toml alphabetically
  • 84f2cbb Update README and CHANGELOG in preparation of 1.0.0
  • e8d60cf Add compile_fail test for on purpose limited bounds (#393, #392)
  • f665d18 Make anyhow reference a bit less strong
  • 6d632b2 Add release announcement (#390)
  • e87ab13 Don't create git tags for derive_more-impl (#391)
  • Additional commits viewable in compare view


Updates ndarray from 0.15.6 to 0.16.0

Release notes

Sourced from ndarray's releases.

0.16.0

Version 0.16.0 (2024-08-03)

Featured Changes

  • Better shape: Deprecate reshape, into_shape by @​bluss #1310 .into_shape() is now deprecated. Use .into_shape_with_order() or .to_shape() instead, which don't have into_shape's drawbacks.

New Features and Improvements

... (truncated)

Changelog

Sourced from ndarray's changelog.

Version 0.16.0 (2024-08-03)

Featured Changes

  • Better shape: Deprecate reshape, into_shape by @​bluss #1310 .into_shape() is now deprecated. Use .into_shape_with_order() or .to_shape() instead, which don't have into_shape's drawbacks.

New Features and Improvements

... (truncated)

Commits
  • 84fe611 Merge pull request #1414 from rust-ndarray/release-0.16
  • b592995 Bump to ndarray 0.16 and ndarray-rand 0.15
  • 825e80b Update changelog for ndarray 0.16 and ndarray-rand 0.15
  • b03953a Check for aliasing in RawViewMut::from_shape_ptr
  • 9873c0a Merge pull request #1411 from rust-ndarray/ci
  • 3de33e4 ci: Require rustfmt check
  • 98c2f25 ci: Require nostd build
  • 8cbc348 ci: Remove duplicated test in cargo-careful
  • e9e8c9d Merge pull request #1410 from rust-ndarray/aliasing-checks
  • 516a504 Allow aliasing in ArrayView::from_shape
  • Additional commits viewable in compare view


Updates rstest from 0.21.0 to 0.22.0

Release notes

Sourced from rstest's releases.

Version 0.22.0

Destructuring input data

Changelog

Sourced from rstest's changelog.

[0.22.0] 2024/8/4

Changed

  • Now it's possible destructuring input values both for cases, values and fixtures. See #231 for details

Add

  • Implemented #[ignore] attribute to ignore test parameters during fixtures resolution/injection. See #228 for details

Fixed

  • Lot of typo in code
Commits


Updates serde from 1.0.204 to 1.0.206

Release notes

Sourced from serde's releases.

v1.0.206

  • Improve support for flatten attribute inside of enums (#2567, thanks @​Mingun)

v1.0.205

  • Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @​Mingun)
  • Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)
Commits
  • 85c73ef Release 1.0.206
  • 5ba1796 Resolve doc_markdown pedantic lint on regression test function
  • e52b7b3 Touch up PR 2567
  • 84c7419 Merge pull request #2794 from dtolnay/neverread
  • 536221b Temporarily ignore collection_is_never_read on FlattenSkipDeserializing
  • fc55ac7 Merge pull request #2567 from Mingun/fix-2565
  • 2afe5b4 Add regression test for issue #2792
  • b4ec259 Correctly process flatten fields in enum variants
  • c3ac7b6 Add regression test for issue #1904
  • 24614e4 Add regression test for issue #2565
  • Additional commits viewable in compare view


Updates serde_derive from 1.0.204 to 1.0.206

Release notes

Sourced from serde_derive's releases.

v1.0.206

  • Improve support for flatten attribute inside of enums (#2567, thanks @​Mingun)

v1.0.205

  • Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @​Mingun)
  • Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)
Commits
  • 85c73ef Release 1.0.206
  • 5ba1796 Resolve doc_markdown pedantic lint on regression test function
  • e52b7b3 Touch up PR 2567
  • 84c7419 Merge pull request #2794 from dtolnay/neverread
  • 536221b Temporarily ignore collection_is_never_read on FlattenSkipDeserializing
  • fc55ac7 Merge pull request #2567 from Mingun/fix-2565
  • 2afe5b4 Add regression test for issue #2792
  • b4ec259 Correctly process flatten fields in enum variants
  • c3ac7b6 Add regression test for issue #1904
  • 24614e4 Add regression test for issue #2565
  • Additional commits viewable in compare view


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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 2 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.