Skip to content

Commit bb9443d

Browse files
committed
Update dependencies
1 parent 246f5ba commit bb9443d

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
- Updated `nix` to version `0.20`.
12+
- Updated `tokio` to version `1`.
13+
- Updated `mio` to version `0.7`.
14+
- Updated `quicli` to version `0.3`.
15+
1116
## v0.4.0 - 2020-08-01
1217

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

1924
Refactored Errors:
2025
- Removed the `error-chain` dependency.
21-
- Errors are now implemented "manually" with `ErrorKind` and `IoctlKind` enums.
26+
- Errors are now implemented "manually" with `ErrorKind` and `IoctlKind` enums.
2227
- The encompassing `Error` type implements the `std::error::Error` trait.
2328

2429
## v0.2.0 - 2018-12-12
2530

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

Cargo.toml

+4-4
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"
26-
tokio = { version = "0.2", features = ["io-driver", "rt-threaded", "macros"], optional = true }
25+
nix = "0.20"
26+
tokio = { version = "1", features = ["io-util", "rt-multi-thread", "macros"], optional = true }
2727
futures = { version = "0.3", optional = true }
28-
mio = { version = "0.6", optional = true }
28+
mio = { version = "0.7", 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)