Skip to content

Commit a86fd99

Browse files
committed
Updated the CHANGELOG and bumped the version to 0.2.0
1 parent 5bfaf13 commit a86fd99

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11-
## 0.1.0 - 2018-09-28
11+
## v0.2.0 - 2018-12-12
12+
13+
Adds the ability to create a collection of lines from a single chip and read or write those lines simultaneously with a single stystem call.
14+
15+
- A new `Lines` object (plural) was added. It is a collection of individual `Line` objects on a single `Chip` which can be read or written simultaneously with a single system call.
16+
- A `Line` now just contains the reference to the Chip and the offset number. No system call is incurred when one is created.
17+
- Information about an individual line is now represented by a separate `LineInfo` struct which can be obtained from the function `Line::info()`. This incurs a system call to retrieve the information.
18+
- Creating a `Line` can't fail unless the caller specifies an offset that is out of range of the chip.
19+
- The `LineIterator` can not fail since it checks the offset range. So now its item is just a `Line`, and not `Result<Line>`.
20+
- There was no longer a need for `Line::refresh()` so it was removed.
21+
- Since a `Line` object is trivial to create, it is now OK to have `Lines` be a simple collection of `Line` structs.
22+
23+
## v0.1.0 - 2018-09-28
1224

1325
- Initial release of the library with basic operations centered around operating
1426
on a single line at a time.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "gpio-cdev"
3-
version = "0.1.0"
4-
authors = ["Paul Osborne <[email protected]>"]
3+
version = "0.2.0"
4+
authors = ["Paul Osborne <[email protected]>", "Frank Pagliughi <[email protected]>"]
55
description = "Linux GPIO Character Device Support (/dev/gpiochipN)"
66
homepage = "https://github.com/posborne/rust-gpio-cdev"
77
repository = "https://github.com/posborne/rust-gpio-cdev"

0 commit comments

Comments
 (0)