From 52c4515e622fa3043f05ce9883b7b066b5f0eab3 Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Wed, 1 Mar 2023 10:16:07 +0700 Subject: [PATCH] Revert "Added default-run" This reverts commit c54f62d79c56f30c0b18d290171c7b8864774af1. --- Cargo.toml | 1 - crates/core/src/bc/xml.rs | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ce53421..e16da8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ description = "A standards-compliant bridge to Reolink IP cameras" version = "0.5.4" authors = ["George Hilliard ", "Andrew King "] edition = "2018" -default-run = "neolink" [workspace] members = [ diff --git a/crates/core/src/bc/xml.rs b/crates/core/src/bc/xml.rs index b7bb174..1ed7ea0 100644 --- a/crates/core/src/bc/xml.rs +++ b/crates/core/src/bc/xml.rs @@ -487,7 +487,7 @@ pub struct BatteryInfo { /// The channel the for the camera usually 0 #[yaserde(rename = "channelId")] pub channel_id: u8, - /// Charge status known values, "chargeComplete", "charging", "none", + /// Charge status known values, "chargeComplete", "charging", #[yaserde(rename = "chargeStatus")] pub charge_status: String, /// Status of charging port known values: "solarPanel" @@ -510,9 +510,6 @@ pub struct BatteryInfo { pub battery_version: u32, } -/// , -} - /// Convience function to return the xml version used throughout the library pub fn xml_ver() -> String { "1.1".to_string() @@ -680,4 +677,6 @@ fn test_binary_deser() { binary_data: Some(1), .. } => {} - _ => panic!(), \ No newline at end of file + _ => panic!(), + } +}