juliangaal / mpu6050

MPU6050 embedded-hal driver written in Rust
https://crates.io/crates/mpu6050
MIT License
52 stars 31 forks source link

Update nalgebra requirement from 0.24.1 to 0.29.0 #39

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on nalgebra to permit the latest version.

Changelog

Sourced from nalgebra's changelog.

[0.29.0]

Breaking changes

  • We updated to the version 0.6 of simba. This means that the trait bounds T: na::RealField, na::ComplexField, na::SimdRealField, na:SimdComplexField no imply that T: Copy (they only imply that T: Clone). This may affect generic code.
  • The closure given to apply, zip_apply, zip_zip_apply must now modify the first argument inplace, instead of returning a new value. This makes these methods more versatile, and avoid useless clones when using non-Copy scalar types.
  • The Allocator trait signature has been significantly modified in order to handle uninitialized matrices in a sound way.

Modified

  • Orthographic3::from_matrix_unchecked is now const fn.
  • Perspective3::from_matrix_unchecked is now const fn.
  • Rotation::from_matrix_unchecked is now const fn.
  • The Scalar is now automatically implemented for most 'static + Clone types. Type that implement Clone but not Copy are now much safer to work with thanks to the refactoring of the Allocator system.

Added

  • The conversion traits form the bytemuck crates are now implemented for the geometric types too.
  • Added operator overloading for Transform * UnitComplex, UnitComplex * Transform, Transform ×= UnitComplex, Transform ÷= UnitComplex.
  • Added Reflection::bias() to retrieve the bias of the reflection.
  • Added Reflection1..Reflection6 aliases for 1D to 6D reflections.
  • Added implementation of From and Into for converting between nalgebra types and types from glam 0.16 and glam 0.17. These can be enabled by enabling the convert-glam016, and/or convert-glam017 cargo features.

[0.28.0]

Added

  • Implement Hash for Transform.
  • Implement Borrow and BorrowMut for contiguous slices.

Modified

  • The OPoint<T, D> type has been added. It takes the dimension number as a type-level integer (e.g. Const<3>) instead of a const-generic. The type Point<T, const D: usize> is now an alias for OPoint. This changes doesn't affect any of the existing code using Point. However, it will allow the use OPoint in a generic context where the dimension cannot be easily expressed as a const-generic (because of the current limitation of const-generics in Rust).
  • Several clippy warnings were fixed. This results in some method signature changes (e.g. taking self instead of &self) but this should not have any practical infulances on existing codebase.
  • The Point::new constructors are no longer const-fn. This is due to some limitations in const-fn not allowing custom trait-bounds. Use the point! macro instead to build points in const environments.
  • Dynamic::new and Unit::new_unchecked are now const-fn.
  • Methods returning Result<(), ()> now return bool instead.

Fixed

  • Fixed a potential unsoundess issue when converting a mutable slice to a &mut[T].

[0.27.1]

... (truncated)

Commits
  • d1d7422 Bump the version of nalgebra-glm, nalgebra-lapack, and nalgebra-sparse.
  • db63f6c Release v0.29.0
  • e3d67e7 Merge pull request #965 from dimforge/glam-up
  • 154579c More Changelog update.
  • bd9e0fb Add support for conversion with glam 0.16 and 0.17
  • 79ab3c3 Update the Changelog
  • dd4df88 Merge pull request #964 from dimforge/unit_complex_axis_angle
  • a9ed6cb Fix wrong sign in UnitComplex::axis_angle
  • 1bc919e Merge pull request #962 from dimforge/non-copy-types
  • 6165ac8 Fix nalgebra-glm tests.
  • 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 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)
dependabot[bot] commented 2 years ago

Superseded by #44.