Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d6843c

Browse files
committed
Updated Cargo.toml, README, and CHANGELOG for v3.5.0 release
1 parent9ecc402 commit3d6843c

File tree

3 files changed

+41
-10
lines changed

3 files changed

+41
-10
lines changed

‎CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
The change log for the Rust[socketcan](https://crates.io/crates/socketcan) library.
44

55

6-
##Unreleased features
6+
##[Version 3.5.0](https://github.com/socketcan-rs/socketcan-rs/compare/v3.4.0..v3.5.0) (2024-12-29)
77

88
-`CanAnyFrame` implements`From` trait for`CanDataFrame`,`CanRemoteFrame`, and`CanErrorFrame`.
99
-`CanFdSocket` implementa`TryFrom` trait for`CanSocket`
1010
- Added FdFlags::FDF bit mask for CANFD_FDF
1111
- The FDF flag is forced on when creating a CanFdFrame.
12-
- Updates to dump module:
12+
- Updates to`dump` module:
1313
- Re-implemented with text parsing
1414
-`ParseError` now implements std`Error` trait via`thiserror::Error`
1515
- Parses FdFlags field properly
@@ -18,9 +18,9 @@ The change log for the Rust [socketcan](https://crates.io/crates/socketcan) libr
1818
- Now reads remote length
1919
-`CanDumpRecord` changes:
2020
- Removed lifetime and made`device` field an owned`String`
21-
-Implmentd `Clone` and `Display` traits.
22-
- `dump::Reader`isnow an Iterator itself
23-
- Returns full `CanDumpRecord` items
21+
-Implemented `Clone` and `Display` traits.
22+
- `Display` traitiscompatible with the candump log record format
23+
- `dump::Reader` is now an Iterator itself, returning full `CanDumpRecord` items
2424
- New unit tests
2525
-[#59](https://github.com/socketcan-rs/socketcan-rs/issues/59) Embedded Hal for CanFdSocket
2626

‎Cargo.toml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="socketcan"
3-
version ="3.5.0-pre.0"
3+
version ="3.5.0"
44
edition ="2021"
55
rust-version ="1.70"
66
authors = [
@@ -18,10 +18,17 @@ Linux SocketCAN library. Send and receive CAN frames via CANbus on Linux.
1818
#
1919
# "netlink" (default) - Whether to include CAN interface configuration
2020
# capabilities based on netlink kernel communications
21-
# "dump" (default) - Whether to include 'candump'output parsing
21+
# "dump" (default) - Whether to include 'candump'log file parsing
2222
#capabilities.
23+
# "enumerate" - Ability to enumerate the available CAN network interfaces
24+
#
2325
# "utils" - Build the command-line utilities
2426
#
27+
# "tokio" - Async/await support with tokio
28+
# "async-io" - Async/await support with async-io
29+
# "async-std" - Async/await support for async-std using async-io
30+
# "smol" - Async/await support for smol using async-io
31+
#
2532

2633
[features]
2734
default = ["netlink","dump"]
@@ -84,6 +91,10 @@ required-features = ["utils"]
8491
name ="playlog"
8592
required-features = ["dump"]
8693

94+
[[example]]
95+
name ="enumerate"
96+
required-features = ["enumerate"]
97+
8798
[[example]]
8899
name ="tokio_send"
89100
required-features = ["tokio"]
@@ -124,6 +135,3 @@ required-features = ["async-std"]
124135
name ="async_std_print_frames"
125136
required-features = ["async-std"]
126137

127-
[[example]]
128-
name ="enumerate"
129-
required-features = ["enumerate"]

‎README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Please see the [documentation](https://docs.rs/socketcan) for details about the
99

1010
##Latest News
1111

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+
1214
###Version 3.x adds integrated async/await, improved Netlink coverage, and more!
1315

1416
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
2123

2224
v3.2 increased the interface configuration coverage with Netlink, allowing an application to set most interface CAN parameters and query them all back.
2325

26+
###What's New in Version 3.5
27+
28+
-`CanAnyFrame` implements`From` trait for`CanDataFrame`,`CanRemoteFrame`, and`CanErrorFrame`.
29+
-`CanFdSocket` implementa`TryFrom` trait for`CanSocket`
30+
- Added FdFlags::FDF bit mask for CANFD_FDF
31+
- 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+
2447
###What's New in Version 3.4
2548

2649
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:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp