-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the characteristic read & update callbacks fallible
- return `Result`s from `OnReadFn`, `OnUpdateFn`, `OnReadFuture` and `OnUpdateFuture` to be able to reflect errors getting and setting values from and to the real world to the requesting crontroller - update `tokio` dependency and remove unused feature flags
- Loading branch information
Showing
8 changed files
with
56 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "hap" | ||
version = "0.1.0-pre.9" | ||
version = "0.1.0-pre.10" | ||
authors = ["Elias Wilken <[email protected]>"] | ||
edition = "2018" | ||
description = "Rust implementation of the Apple HomeKit Accessory Protocol (HAP)" | ||
|
@@ -43,7 +43,7 @@ sha2 = "0.9" | |
signature = "1.1" | ||
srp = "0.5" | ||
thiserror = "1.0" | ||
tokio = { version = "1.7", features = ["rt", "net", "time", "macros"] } | ||
tokio = "1.8" | ||
url = "2.1" | ||
uuid = { version = "0.8", features = ["v4", "serde"] } | ||
x25519-dalek = "0.6" | ||
|
@@ -56,7 +56,7 @@ uuid = { version = "0.8", features = ["v4", "serde"] } | |
|
||
[dev-dependencies] | ||
env_logger = "0.8" | ||
tokio = { version = "1.7", features = ["rt-multi-thread", "time"] } | ||
tokio = { version = "1.8", features = ["rt-multi-thread", "time", "macros"] } | ||
|
||
[workspace] | ||
members = ["codegen"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "hap-codegen" | ||
version = "0.1.0-pre.9" | ||
version = "0.1.0-pre.10" | ||
authors = ["Elias Wilken <[email protected]>"] | ||
edition = "2018" | ||
description = "Rust implementation of the Apple HomeKit Accessory Protocol (HAP)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters