From 8da639b89db016e92b6fe70dc74af4542a8ef3fa Mon Sep 17 00:00:00 2001 From: occheung Date: Tue, 26 Jan 2021 15:41:16 +0800 Subject: [PATCH] cargo: bump smoltcp version --- Cargo.toml | 2 +- examples/tcp_stm32f407.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68a84e9..f45a4ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "BSD-2-Clause" volatile-register = "0.2" aligned = "0.3" embedded-hal = "0.2" -smoltcp = { version = "0.6.0", default-features = false, features = ["proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", "log", "verbose", "ethernet"], optional = true } +smoltcp = { version = "0.7.0", default-features = false, features = ["proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", "log", "verbose", "ethernet"], optional = true } # Optional dependencies for building examples stm32f4xx-hal = { version = "0.8", optional = true } cortex-m = { version = "0.5", optional = true } diff --git a/examples/tcp_stm32f407.rs b/examples/tcp_stm32f407.rs index 80e3278..cd3d18e 100644 --- a/examples/tcp_stm32f407.rs +++ b/examples/tcp_stm32f407.rs @@ -101,8 +101,6 @@ static mut NET_STORE: NetStorage = NetStorage { const APP: () = { struct Resources { eth_iface: EthernetInterface< - 'static, - 'static, 'static, smoltcp_phy::SmoltcpDevice>, itm: ITM -- 2.44.2