You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ Please see the [documentation](https://docs.rs/socketcan) for details about the
9
9
10
10
##Latest News
11
11
12
+
Then end of 2024 saw two back-to-back release, v3.4 and v3.5. The first rolled up the PRs and bug fixes that had been sitting the the repository for the year. The second updated the`dump` module and improved the usability of several frame and socket types. See below for details.
13
+
12
14
###Version 3.x adds integrated async/await, improved Netlink coverage, and more!
13
15
14
16
Version 3.0 adds integrated support for async/await, with the most popular runtimes,_tokio, async-std_, and_smol_. We have merged the[tokio-socketcan](https://github.com/oefd/tokio-socketcan) crate into this one and implemented`async-io`.
@@ -21,6 +23,27 @@ Additional implementation of the netlink control of the CAN interface was added
21
23
22
24
v3.2 increased the interface configuration coverage with Netlink, allowing an application to set most interface CAN parameters and query them all back.
- The FDF flag is forced on when creating a CanFdFrame.
32
+
- Updates to`dump` module:
33
+
- Re-implemented with text parsing
34
+
-`ParseError` now implements std`Error` trait via`thiserror::Error`
35
+
- Parses FdFlags field properly
36
+
- CANFD_FDF bit flag recognized on input
37
+
- Fixed reading remote frames
38
+
- Now reads remote length
39
+
-`CanDumpRecord` changes:
40
+
- Removed lifetime and made `device` field an owned `String`
41
+
- Implemented `Clone` and `Display` traits.
42
+
- `Display` trait is compatible with the candump log record format
43
+
- `dump::Reader` is now an Iterator itself, returning full `CanDumpRecord` items
44
+
- New unit tests
45
+
-[#59](https://github.com/socketcan-rs/socketcan-rs/issues/59) Embedded Hal for CanFdSocket
46
+
24
47
###What's New in Version 3.4
25
48
26
49
Version 3.4.0 was primarily a service release to publish a number of new feature and bug fixes that had accumulated in the repository over the previous months. Those included: