Skip to content

Commit

Permalink
Fix move of takepipe to common
Browse files Browse the repository at this point in the history
  • Loading branch information
mkj committed Dec 9, 2023
1 parent f3c011f commit 0f5c66b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pretty-hex = "0.3"
whoami = "1.3"
zeroize = "1.5"

tokio = { version = "1.17", features = ["full"] }
tokio = { version = "1.25", features = ["full"] }

# adapters for tokio and async-std
embedded-io-adapters = { version = "0.6", features = ["tokio-1"] }
Expand Down
5 changes: 5 additions & 0 deletions embassy/demos/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ defmt = { version = "0.3", optional = true }
log = "0.4"
pretty-hex = { version = "0.3", default-features = false }

[dev-dependencies]
anyhow = { version = "1.0" }
sunset = { path = "../../..", features = ["std"] }
tokio = { version = "1.25", features = ["full"] }

[features]
defmt = ["dep:defmt", "embedded-io-async/defmt-03"]
log = ["embassy-net/log"]
1 change: 1 addition & 0 deletions embassy/demos/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ mod server;
pub mod config;
pub mod menu;
pub mod demo_menu;
pub mod takepipe;

pub use server::{DemoServer, listener};
pub use config::SSHConfig;
Expand Down
3 changes: 1 addition & 2 deletions embassy/demos/picow/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pub(crate) use sunset_demo_embassy_common as demo_common;
mod flashconfig;
mod picowmenu;
mod serial;
mod takepipe;
mod usb;
mod keyboard;
#[cfg(feature = "w5500")]
Expand All @@ -50,7 +49,7 @@ compile_error!("No network device selected. Use cyw43 or w5500 feature");
#[cfg(all(feature = "cyw43", feature = "w5500"))]
compile_error!("Select only one of cyw43 or w5500");

use demo_common::{SSHConfig, DemoServer};
use demo_common::{SSHConfig, DemoServer, takepipe};

use takepipe::TakePipe;

Expand Down

0 comments on commit 0f5c66b

Please sign in to comment.