Skip to content

Commit 13cf1d1

Browse files
committed
Update dependencies
1 parent 246f5ba commit 13cf1d1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
- Updated `nix` to version `0.20`.
12+
- Updated `quicli` to version `0.3`.
13+
1114
## v0.4.0 - 2020-08-01
1215

1316
- Removed pub "errors" module. Error now exposed at top level.
@@ -18,17 +21,17 @@ Versioning](https://semver.org/spec/v2.0.0.html).
1821

1922
Refactored Errors:
2023
- Removed the `error-chain` dependency.
21-
- Errors are now implemented "manually" with `ErrorKind` and `IoctlKind` enums.
24+
- Errors are now implemented "manually" with `ErrorKind` and `IoctlKind` enums.
2225
- The encompassing `Error` type implements the `std::error::Error` trait.
2326

2427
## v0.2.0 - 2018-12-12
2528

2629
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.
27-
30+
2831
- 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.
2932
- A `Line` now just contains the reference to the Chip and the offset number. No system call is incurred when one is created.
3033
- 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.
31-
- Creating a `Line` can't fail unless the caller specifies an offset that is out of range of the chip.
34+
- Creating a `Line` can't fail unless the caller specifies an offset that is out of range of the chip.
3235
- The `LineIterator` can not fail since it checks the offset range. So now its item is just a `Line`, and not `Result<Line>`.
3336
- There was no longer a need for `Line::refresh()` so it was removed.
3437
- Since a `Line` object is trivial to create, it is now OK to have `Lines` be a simple collection of `Line` structs.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ required-features = ["async-tokio"]
2222
[dependencies]
2323
bitflags = "1.0"
2424
libc = "0.2"
25-
nix = "0.14"
25+
nix = "0.20"
2626
tokio = { version = "0.2", features = ["io-driver", "rt-threaded", "macros"], optional = true }
2727
futures = { version = "0.3", optional = true }
2828
mio = { version = "0.6", optional = true }
2929

3030
[dev-dependencies]
31-
quicli = "0.2"
31+
quicli = "0.3"
3232
anyhow = "1.0"
3333

3434
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)