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
+10-16Lines changed: 10 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
-
Rust SocketCAN
2
-
==============
1
+
#Rust SocketCAN
3
2
4
3
This library implements Controller Area Network (CAN) communications on Linux using the SocketCAN subsystem. This provides a network socket interface to the CAN bus.
5
4
@@ -22,32 +21,27 @@ Additional implementation of the netlink control of the CAN interface was added
22
21
23
22
v3.2 increased the interface configuration coverage with Netlink, allowing an application to set most interface CAN parameters and query them all back.
24
23
25
-
###What's New in Version 3.3
24
+
###What's New in Version 3.4
26
25
27
-
-[#53](https://github.com/socketcan-rs/socketcan-rs/pull/53) Added CanFD support for tokio
28
-
- Serialized tokio unit tests and put them behind the "vcan_tests" feature
26
+
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:
29
27
30
-
###What's New in Version 3.2
28
+
- A new build feature,`enumerate` to provide code for enumerating CAN interfaces on the host.
29
+
- Added a`CanId` type with better usability than`embedded_can::Id`
30
+
- Fixes to the Flexible Data (CAN FD) implementation, including proper frame padding and DLC/length queries.
31
+
- Made`CanState` public.
32
+
- Improved and modernized the_tokio_ implementation.
31
33
32
-
-[#32](https://github.com/socketcan-rs/socketcan-rs/issues/32) Further expanded netlink functionality:
33
-
- Added setters for most additional interface CAN parameters
34
-
- Ability to query back interface CAN parameters
35
-
- Expanded`InterfaceDetails` to include CAN-specific parameters
36
-
- Better integration of low-level types with`neli`
37
-
- Significant cleanup of the`nl` module
38
-
- Split the`nl` module into separate sources for higher and lower-level code
34
+
For a full list of updates, see the[v3.4.0 CHANGELOG](https://github.com/socketcan-rs/socketcan-rs/blob/v3.4.0/CHANGELOG.md)
39
35
40
36
##Next Steps
41
37
42
38
A number of items still did not make it into a release. These will be added in v3.x, coming soon.
43
39
44
40
- Issue[#22](https://github.com/socketcan-rs/socketcan-rs/issues/22) Timestamps, including optional hardware timestamps
45
-
- Better documentation. This README will be expanded with basic usage information, along with better doc comments, and perhaps creation of the wiki
46
-
47
41
48
42
##Minimum Supported Rust Version (MSRV)
49
43
50
-
The current version of the crate targets Rust Edition 2021 with an MSRV of Rust v1.70.0.
44
+
The current version of the crate targets Rust Edition 2021 with an MSRV of Rust v1.70.
51
45
52
46
Note that, the core library can likely compile with an earlier version if dependencies are carefully selected, but tests are being done with the latest stable compiler and the stated MSRV.