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

build(deps): update socketcan requirement from 1.7 to 2.0 #261

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2023

Updates the requirements on socketcan to permit the latest version.

Release notes

Sourced from socketcan's releases.

Version 2.0.0

Extensive rework of the crate to cleanup, refactor, and modernize the library and add some new features like CAN FD support.

  • Moved to Rust Edition 2021 w/ MSRV 1.64
  • Refactored frames into differnt types: Data, Remote, Error (and now FD), that can be managed through enumeraed wraper types CanFrame and/or CanFdFrame
  • Pushed some implementation upsream to the libc and nix crates, and/or adapted upstream types.
    • CAN 2.0 frames based on libc::can_frame
    • CAN FD frames based on libc::canfd_frame
  • #33 Netlink extensions
    • Creating and deleting interfaces
    • Setting MTU (to/from FD)
  • #21 New CI using GitHub Actions
  • #20 Composite PR with some modernization
    • Pulls in #13, and updates to the latest neli v0.6
    • Updates nix dependency to latest v0.23
    • Moves to Rust 2018 w/ MSRV 1.54
    • Errors conform to std::error::Error
  • #16 Add CAN FD support
  • #24 Embedded HAL Traits
    • Plus some source refactoring into more coherent modules
Changelog

Sourced from socketcan's changelog.

Version 2.0.0 (2023-04-06)

Extensive rework of the crate to cleanup, refactor, and modernize the library and add some new features like CAN FD support.

  • Moved to Rust Edition 2021 w/ MSRV 1.64
  • Refactored frames into differnt types: Data, Remote, Error (and now FD), that can be managed through enumeraed wraper types CanFrame and/or CanFdFrame
  • Pushed some implementation upsream to the libc and nix crates, and/or adapted upstream types.
    • CAN 2.0 frames based on libc::can_frame
    • CAN FD frames based on libc::canfd_frame
  • #33 Netlink extensions
    • Creating and deleting interfaces
    • Setting MTU (to/from FD)
  • #21 New CI using GitHub Actions
  • #20 Composite PR with some modernization
    • Pulls in #13, and updates to the latest neli v0.6
    • Updates nix dependency to latest v0.23
    • Moves to Rust 2018 w/ MSRV 1.54
    • Errors conform to std::error::Error
  • #16 Add CAN FD support
  • #24 Embedded HAL Traits
    • Plus some source refactoring into more coherent modules
Commits
  • fdec76e Updated gitignore to disregard editor and IDE files.
  • e6e0643 Updated version, README, and CHANGELOG for v2.0.0 release.
  • c11c115 Added a read_frame function with timeout
  • 34c1f6c Simplified can_id creation for the frames.
  • fc091c7 Fixed FD frame construction.
  • 329e9f4 #9 Added functions to mutate a frame, as applicable.
  • 6d56fd5 Fixed remote frame creation. Added unit tests for frames.
  • e28b617 Fixed vcan integration tests
  • a2fb5a7 Minor cleanup
  • 7f7d197 Merge pull request #34 from almini/patch-1
  • 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.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 7, 2023
@TaKO8Ki TaKO8Ki force-pushed the dependabot/cargo/socketcan-2.0 branch 2 times, most recently from 849ff77 to 88d1941 Compare April 26, 2023 00:53
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage: 50.00% and project coverage change: +0.13 🎉

Comparison is base (af6d826) 84.58% compared to head (469b2ce) 84.71%.

❗ Current head 469b2ce differs from pull request most recent head 278f765. Consider uploading reports for the commit 278f765 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
+ Coverage   84.58%   84.71%   +0.13%     
==========================================
  Files         215      215              
  Lines       12687    12683       -4     
==========================================
+ Hits        10731    10745      +14     
+ Misses       1956     1938      -18     
Impacted Files Coverage Δ
...rc/stream_engine/autonomous_executor/task_graph.rs 94.70% <ø> (ø)
...ous_executor/task/source_task/source_reader/can.rs 23.37% <28.57%> (ø)
...row/foreign_row/source_row/can_frame_source_row.rs 87.50% <100.00%> (ø)
springql/tests/e2e_high_level_rs.rs 100.00% <100.00%> (ø)

... and 11 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

dependabot bot and others added 5 commits June 21, 2023 22:02
Updates the requirements on [socketcan](https://github.com/mbr/socketcan-rs) to permit the latest version.
- [Release notes](https://github.com/mbr/socketcan-rs/releases)
- [Changelog](https://github.com/socketcan-rs/socketcan-rs/blob/master/CHANGELOG.md)
- [Commits](socketcan-rs/socketcan-rs@v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: socketcan
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@TaKO8Ki TaKO8Ki force-pushed the dependabot/cargo/socketcan-2.0 branch from 469b2ce to 278f765 Compare June 21, 2023 13:03
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant