From c27752d3091579552fc7f428d0feab3e57137327 Mon Sep 17 00:00:00 2001 From: Krzysztof Mazur Date: Tue, 12 Dec 2023 21:06:33 +0100 Subject: [PATCH] Update serialport crate version --- Cargo.lock | 61 ++++++++++++++++++----------------------- light-client/Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e69852c..1d3af1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,27 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "CoreFoundation-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0e9889e6db118d49d88d84728d0e964d973a5680befb5f85f55141beea5c20b" -dependencies = [ - "libc", - "mach", -] - -[[package]] -name = "IOKit-sys" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99696c398cbaf669d2368076bdb3d627fb0ce51a26899d7c61228c5c0af3bf4a" -dependencies = [ - "CoreFoundation-sys", - "libc", - "mach", -] - [[package]] name = "accesskit" version = "0.12.1" @@ -3186,6 +3165,16 @@ dependencies = [ "web-sys", ] +[[package]] +name = "io-kit-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4769cb30e5dcf1710fc6730d3e94f78c47723a014a567de385e113c737394640" +dependencies = [ + "core-foundation-sys", + "mach2", +] + [[package]] name = "ipnet" version = "2.9.0" @@ -3465,15 +3454,6 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -[[package]] -name = "mach" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd13ee2dd61cc82833ba05ade5a30bb3d63f7ced605ef827063c63078302de9" -dependencies = [ - "libc", -] - [[package]] name = "mach2" version = "0.4.1" @@ -5063,18 +5043,20 @@ dependencies = [ [[package]] name = "serialport" -version = "4.2.2-alpha.0" -source = "git+https://github.com/mrozycki/serialport-rs?rev=86cbf11#86cbf11fc3e9476f03a9a7102096f016a6103265" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f5a15d0be940df84846264b09b51b10b931fb2f275becb80934e3568a016828" dependencies = [ - "CoreFoundation-sys", - "IOKit-sys", - "bitflags 1.3.2", + "bitflags 2.4.1", "cfg-if", + "core-foundation-sys", + "io-kit-sys", "libudev", "mach2", "nix 0.26.4", "regex", "scopeguard", + "unescaper", "winapi", ] @@ -5906,6 +5888,15 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +[[package]] +name = "unescaper" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f0f68e58d297ba8b22b8b5a96a87b863ba6bb46aaf51e19a4b02c5a6dd5b7f" +dependencies = [ + "thiserror", +] + [[package]] name = "unicase" version = "2.7.0" diff --git a/light-client/Cargo.toml b/light-client/Cargo.toml index 7474e04..382c089 100755 --- a/light-client/Cargo.toml +++ b/light-client/Cargo.toml @@ -14,4 +14,4 @@ reqwest = "0.11.12" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1", features = ["full"] } -serialport = { git = "https://github.com/mrozycki/serialport-rs", rev = "86cbf11" } +serialport = "4.3.0"