eth-v2: Make embassy-net optional

This commit is contained in:
Thales Fragoso
2021-06-14 18:30:11 -03:00
committed by Dario Nieuwenhuis
parent 3396a51938
commit 598201bff3
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ embassy = { version = "0.1.0", path = "../embassy" }
embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["stm32"] }
embassy-extras = {version = "0.1.0", path = "../embassy-extras" }
embassy-traits = {version = "0.1.0", path = "../embassy-traits" }
embassy-net = { version = "0.1.0", path = "../embassy-net", features = ["tcp", "medium-ip"] }
embassy-net = { version = "0.1.0", path = "../embassy-net", features = ["tcp", "medium-ethernet"], optional = true }
defmt = { version = "0.2.0", optional = true }
log = { version = "0.4.11", optional = true }
@ -41,6 +41,7 @@ defmt-info = [ ]
defmt-warn = [ ]
defmt-error = [ ]
sdmmc-rs = ["embedded-sdmmc"]
net = ["embassy-net"]
# BEGIN GENERATED FEATURES
# Generated by gen_features.py. DO NOT EDIT.