From f270e64a5cd8599d21f4fb1110867a9d624cdf22 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Mon, 20 Dec 2021 02:31:48 +0000 Subject: [PATCH] Disable not needed features in smoltcp --- Cargo.lock | 1 - Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b8ed7f..a010a8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -784,7 +784,6 @@ checksum = "d2308a1657c8db1f5b4993bab4e620bdbe5623bd81f254cf60326767bb243237" dependencies = [ "bitflags", "byteorder", - "libc", "log", "managed", "rand_core", diff --git a/Cargo.toml b/Cargo.toml index 50dd3c4..f145159 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ clap = { version = "2.33", default-features = false, features = ["suggestions"] log = "0.4" pretty_env_logger = "0.4" anyhow = "1" -smoltcp = "0.8.0" +smoltcp = { version = "0.8.0", default-features = false, features = ["std", "log", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-udp", "socket-tcp"] } tokio = { version = "1", features = ["full"] } futures = "0.3.17" rand = "0.8.4"