Skip to content

Commit

Permalink
Merge pull request #59 from hnez/cargo-check-nightly-fixes
Browse files Browse the repository at this point in the history
Fix cargo check errors that were added in nightly cargo
  • Loading branch information
hnez committed Mar 5, 2024
2 parents c3cacdb + 2d454dc commit 3629d76
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/backlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use async_std::prelude::*;
use async_std::sync::Arc;
use log::warn;

#[cfg(feature = "demo_mode")]
mod demo_mode;

#[cfg(feature = "demo_mode")]
Expand Down
1 change: 0 additions & 1 deletion src/broker/mqtt_conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ use futures_util::future::Either;
use futures_util::{FutureExt, SinkExt, StreamExt};

use mqtt::control::variable_header::{ConnectReturnCode, ProtocolLevel};
use mqtt::packet::publish::QoSWithPacketIdentifier;
use mqtt::packet::suback::SubscribeReturnCode;
use mqtt::TopicFilter;
use mqtt::{packet::*, Decodable, Encodable};
Expand Down
1 change: 0 additions & 1 deletion src/dbus/networkmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

use anyhow::Result;
use async_std;
use async_std::sync::Arc;
use serde::{Deserialize, Serialize};

Expand Down
2 changes: 2 additions & 0 deletions src/led.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ use log::{error, info, warn};
use crate::broker::{BrokerBuilder, Topic};
use crate::watched_tasks::WatchedTasksBuilder;

#[cfg(feature = "demo_mode")]
mod demo_mode;

mod extras;

#[cfg(feature = "demo_mode")]
Expand Down

0 comments on commit 3629d76

Please sign in to comment.