Added default-run

This commit is contained in:
QuantumEntangledAndy authored and Andrew committed 2023-03-01 14:28:02 +07:00
1 parent f4d7bebbf1
commit 8d3c0af7af
2 files changed
+6 -4

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ description = "A standards-compliant bridge to Reolink IP cameras"
version = "0.5.4"
authors = ["George Hilliard <thirtythreeforty@gmail.com>", "Andrew King <sheepchaan@gmail.com>"]
edition = "2018"
default-run = "neolink"
[workspace]
members = [
+5 -4
View File
@@ -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",
/// Charge status known values, "chargeComplete", "charging", "none",
#[yaserde(rename = "chargeStatus")]
pub charge_status: String,
/// Status of charging port known values: "solarPanel"
@@ -510,6 +510,9 @@ 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()
@@ -677,6 +680,4 @@ fn test_binary_deser() {
binary_data: Some(1),
..
} => {}
_ => panic!(),
}
}
_ => panic!(),