summaryrefslogtreecommitdiff
path: root/embassy-net
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-12 20:14:26 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-13 17:46:27 +0200
commite5a843dc062bcbd27e2a0e6b34334046522a881f (patch)
tree8c2cc6745084fa3e456b5090e826502a96a2be5c /embassy-net
parent0d3758ad6bd290689c99eab029ef652176b538d7 (diff)
downloadembassy-e5a843dc062bcbd27e2a0e6b34334046522a881f.zip
net: auto-enable defmt in smoltcp using namespaced features.
Diffstat (limited to 'embassy-net')
-rw-r--r--embassy-net/Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml
index a85eea0c..90e84d82 100644
--- a/embassy-net/Cargo.toml
+++ b/embassy-net/Cargo.toml
@@ -14,9 +14,11 @@ flavors = [
]
[features]
-default = ["pool-4"]
+default = []
std = []
+defmt = ["dep:defmt", "smoltcp/defmt"]
+
tcp = ["smoltcp/socket-tcp"]
dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"]
medium-ethernet = ["smoltcp/medium-ethernet"]