From eef1cd968e9098f7462ee174e1ffe6ae1d0fcc8a Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Fri, 11 Nov 2022 13:30:42 +0100 Subject: [PATCH] fix TOML in Cargo.toml per https://toml.io/en/v1.0.0#inline-table, `No newlines are allowed between the curly braces unless they are valid within a value`. Partially fixes #77 (there's also the "unresolved import `smoltcp::phy::TapInterface`" issue). --- ch8/ch8-mget/Cargo.toml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ch8/ch8-mget/Cargo.toml b/ch8/ch8-mget/Cargo.toml index 1ae912c6..6d15a9ce 100644 --- a/ch8/ch8-mget/Cargo.toml +++ b/ch8/ch8-mget/Cargo.toml @@ -7,12 +7,6 @@ edition = "2018" [dependencies] clap = "2" rand = "0.7" -smoltcp = { - version = "0.6", - features = ["proto-igmp", "proto-ipv4", "verbose", "log"] -} -trust-dns = { - version = "0.16", - default-features = false -} +smoltcp = {version = "0.6",features = ["proto-igmp", "proto-ipv4", "verbose", "log"]} +trust-dns = {version = "0.16",default-features = false} url = "2"