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

Commit353932e

Browse files
committed
Updated README, CHANGELOG, and Cargo.toml for v3.1 release
1 parent39236eb commit353932e

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

‎CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
The change log for the Rust[socketcan](https://crates.io/crates/socketcan) library.
44

5+
6+
##[Version 3.1.0](https://github.com/socketcan-rs/socketcan-rs/compare/v3.0.0..v3.1.0) (2023-10-12)
7+
8+
- Added a number of netlink commands to modify the CAN interface parameters. including: setting the bitrate and (for FD) setting the data bitrate, setting control modes, manually restarting the interface, and setting the automatic restart delay time.
9+
-[PR#50](https://github.com/socketcan-rs/socketcan-rs/pull/50) Add set_bitrate method
10+
-[PR#45](https://github.com/socketcan-rs/socketcan-rs/pull/45) Dump handles extended IDs
11+
-[PR#44](https://github.com/socketcan-rs/socketcan-rs/pull/44) Fix clippy warnings
12+
-[PR#43](https://github.com/socketcan-rs/socketcan-rs/pull/43) Implement AsPtr for CanAnyFrame
13+
14+
515
##[Version 3.0.0](https://github.com/socketcan-rs/socketcan-rs/compare/v2.0.0..v3.0.0) (2023-09-19)
616

717
- Support for Rust async/await

‎Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="socketcan"
3-
version ="3.1.0-pre.0"
3+
version ="3.1.0"
44
edition ="2021"
55
rust-version ="1.65"
66
authors = [

‎README.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,26 @@ Please see the [documentation](https://docs.rs/socketcan) for details about the
1010

1111
##Latest News
1212

13-
###Work has started on v3.1
14-
15-
This will primarily add support for increased Netlink functionality to do things like set the bitrate on the interface, set control modes, restart the inteface, etc.
16-
17-
###Version 3.x adds integrated async/await!
13+
###Version 3.x adds integrated async/await and more!
1814

1915
Version 3.0 adds integrated support for async/await, with the most popular runtimes,_tokio, async-std_, and_smol_. To get started we have already merged the[tokio-socketcan](https://github.com/oefd/tokio-socketcan) crate into this one and implemented`async-io`.
2016

2117
Unfortunaly this required a minor breaking change to the existing API, so we bumped the version to 3.0.
2218

2319
The async support is optional, and can be enabled with a feature for the target runtime:`tokio`,`async-std`, or`smol`.
2420

25-
###Unreleased Features in This Branch (for v3.1)
21+
Additional implementation of the netlink control of the CAN interface was added in v3.1 allws an application to do things like set the bitrate on the interface, set control modes, restart the inteface, etc.
22+
23+
###What's New in Version 3.1
2624

2725
- Added netlink functionality:
28-
- Set the bitrate
26+
- Set the bitrate[PR#50](https://github.com/socketcan-rs/socketcan-rs/pull/50), and the FD data bitrate
2927
- Set the control modes (Loopback, Listen-Only, etc)
3028
- Set automatic restart delay time
3129
- Manual restart
30+
-[PR#45](https://github.com/socketcan-rs/socketcan-rs/pull/45) Dump handles extended IDs
31+
-[PR#44](https://github.com/socketcan-rs/socketcan-rs/pull/44) Fix clippy warnings
32+
-[PR#43](https://github.com/socketcan-rs/socketcan-rs/pull/43) Implement AsPtr for CanAnyFrame
3233

3334
###What's New in Version 3.0
3435

@@ -39,23 +40,12 @@ The async support is optional, and can be enabled with a feature for the target
3940
- Added cargo build features for`tokio` or`async-io`.
4041
- Also created specific build features for`async-std` and`smol` which just bring in the`async-io` module and alias the module name to`async-std` or`smol`, respectively, and build examples for each.
4142

42-
###What's New in Version 2.1
43-
44-
- Made`CanAddr` pulic and added functions to help interact with low-level sockaddr types. Sockets can now be opened with an address.
45-
- Can create an`Error` directly from a`CanErrorFrame` or`std::io::ErrorKind`.
46-
-[#46](https://github.com/socketcan-rs/socketcan-rs/issues/46) Applications can create error frames:
47-
-`CanErrorFrame::new()` now works.
48-
-`CanErrorFrame::new_error()` is similar but more intuitive using a raw ID word.
49-
-`From<CanError> for CanErrorFrame` to create an error frame from a`CanError`.
50-
- Added`Frame::from_raw_id()` and`Frame::remote_from_raw_id()`
51-
- Bumped MSRV to 1.65.0
52-
5343
##Next Steps
5444

55-
A number of items still did notmakei into a release. These will be added in v3.x, coming soon.
45+
A number of items still did notmake it into a release. These will be added in v3.x, coming soon.
5646

5747
- Issue[#22](https://github.com/socketcan-rs/socketcan-rs/issues/22) Timestamps, including optional hardware timestamps
58-
- Issue[#32](https://github.com/socketcan-rs/socketcan-rs/issues/32)Better coverage ofthe Netlink APItomanipulatetheCAN interfaces programatically.
48+
- Issue[#32](https://github.com/socketcan-rs/socketcan-rs/issues/32)A number ofimportant netlink commands were added in v3.1, particularly the abilitytoset bitrates, resettheinterface, and set control modes. But the implementation is still incomplete, particularly in regard t
5949
- Better documentation. This README will be expanded with basic usage information, along with better doc comments, and perhaps creation of the wiki
6050

6151

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp