Skip to content

Commit b0a56a1

Browse files
* Bump capnpc from 0.14.8 to 0.14.9 * Bump capnp from 0.14.7 to 0.14.8 * Fix lint errors. (#702) * Bump indexmap from 1.8.2 to 1.9.1 * Uprev libsettings-rs 0.6.13. (#701) * Add missing newline to plist.
1 parent 3963fbb commit b0a56a1

File tree

9 files changed

+57
-36
lines changed

9 files changed

+57
-36
lines changed

Cargo.lock

Lines changed: 45 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

console_backend/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ directories = "4"
3232
anyhow = { version = "1", features = ["backtrace"] }
3333
serde_yaml = "0.8.24"
3434
clap = { version = "3.2.5", features = ["derive"] }
35-
indexmap = { version = "1.8.2", features = ["serde"] }
35+
indexmap = { version = "1.9.1", features = ["serde"] }
3636
serde_json = { version = "1" }
3737
crossbeam = "0.8"
3838
rand = "0.8.5"
@@ -41,7 +41,7 @@ parking_lot = "0.12.1"
4141
regex = { version = "1.5.6" }
4242
rust-ini = "0.18.0"
4343
sbp = { version = "4.4.0", features = ["json", "link", "swiftnav"] }
44-
sbp-settings = "0.6.12"
44+
sbp-settings = "0.6.13"
4545
env_logger = { version = "0.9", optional = true }
4646
mimalloc = { version = "0.1", default-features = false }
4747
indicatif = { version = "0.16", optional = true }

console_backend/src/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::borrow_deref_ref)] // Waiting on this to merge: https://github.com/rust-lang/rust-clippy/issues/8971
12
use crossbeam::channel;
23
use pyo3::exceptions;
34
use pyo3::prelude::*;

console_backend/src/shared_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ enum FlowControlRemote {
727727
Hardware,
728728
}
729729

730-
#[derive(Debug, PartialEq, Serialize, Deserialize)]
730+
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
731731
pub struct ConnectionHistory {
732732
addresses: IndexSet<Address>,
733733
files: IndexSet<String>,

console_backend/src/solution_tab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::shared_state::SharedState;
1616
use crate::types::{Deque, Dops, GnssModes, GpsTime, PosLLH, UtcDateTime, VelNED};
1717
use crate::utils::*;
1818

19-
#[derive(Debug, Clone, PartialEq)]
19+
#[derive(Debug, Clone, PartialEq, Eq)]
2020
pub enum LatLonUnits {
2121
Degrees,
2222
Meters,

console_backend/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl Clone for ArcBool {
269269
}
270270

271271
// Main Tab Types.
272-
#[derive(Clone, Copy, Debug, PartialEq)]
272+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
273273
pub enum RealtimeDelay {
274274
On,
275275
Off,
@@ -1479,7 +1479,7 @@ impl Event for BaselineNED {
14791479
}
14801480

14811481
// Solution Velocity Tab Types.
1482-
#[derive(Debug, Clone, PartialEq)]
1482+
#[derive(Debug, Clone, PartialEq, Eq)]
14831483
pub enum VelocityUnits {
14841484
Mps,
14851485
Mph,

console_backend/src/update_tab.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,9 @@ fn update_frontend(client_sender: BoxedClientSender, mut update_tab_context: Upd
220220
status.set_fw_version_current(&packet.current_firmware_version);
221221
status.set_fw_version_latest(&packet.latest_firmware_version);
222222
status.set_fw_local_filename(&packet.firmware_filename);
223-
status.set_fileio_local_filepath(&packet.fileio_local_filepath.to_string_lossy().to_string());
224-
status.set_fileio_destination_filepath(
225-
&packet
226-
.fileio_destination_filepath
227-
.to_string_lossy()
228-
.to_string(),
229-
);
230-
status.set_directory(&packet.firmware_directory.to_string_lossy().to_string());
223+
status.set_fileio_local_filepath(&packet.fileio_local_filepath.to_string_lossy());
224+
status.set_fileio_destination_filepath(&packet.fileio_destination_filepath.to_string_lossy());
225+
status.set_directory(&packet.firmware_directory.to_string_lossy());
231226
status.set_downloading(packet.downloading);
232227
status.set_upgrading(packet.upgrading);
233228
status.set_fw_text(&packet.fw_log);

console_backend/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub fn refresh_connection_frontend(client_sender: &BoxedClientSender, shared_sta
101101
.init_available_ports(ports.len() as u32);
102102

103103
for (i, serialportinfo) in ports.iter().enumerate() {
104-
available_ports.set(i as u32, &(*serialportinfo));
104+
available_ports.set(i as u32, serialportinfo);
105105
}
106106

107107
let mut available_baudrates = connection_status

installers/macOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
<key>CFBundleVersion</key>
3333
<string>@@VERSION@@</string>
3434
</dict>
35-
</plist>
35+
</plist>

0 commit comments

Comments
 (0)