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 })