From 416988e5e62e247bec0427251066574bbf124af1 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 14 Apr 2023 20:42:58 +0800 Subject: [PATCH] Some fixes for CI failures --- Cargo.toml | 2 +- embassy/demos/common/server.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 107c404..61916f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ embedded-io = { version = "0.4", optional = true } pretty-hex = { version = "0.3", default-features = false } # for non_async -futures = "0.3" +futures = { version = "0.3", default-features = false } [features] std = ["snafu/std", "snafu/backtraces", "rsa"] diff --git a/embassy/demos/common/server.rs b/embassy/demos/common/server.rs index c5912b1..310bffb 100644 --- a/embassy/demos/common/server.rs +++ b/embassy/demos/common/server.rs @@ -39,7 +39,7 @@ pub struct SSHConfig { impl SSHConfig { pub fn new() -> Result { - let keys = [SignKey::generate(KeyType::Ed25519)?]; + let keys = [SignKey::generate(KeyType::Ed25519, None)?]; Ok(Self { keys })