net: fix build

This commit is contained in:
Dario Nieuwenhuis 2021-05-28 23:10:15 +02:00
parent 4ebc113852
commit f55a303814
2 changed files with 6 additions and 7 deletions

View File

@ -6,14 +6,14 @@ edition = "2018"
[dependencies]
heapless = { version = "0.5.6", default-features = false }
embassy = { version = "0.1.0", features=["std", "log"] }
embassy-std = { version = "0.1.0" }
embassy = { version = "0.1.0", path = "../embassy", features=["std", "log"] }
embassy-std = { version = "0.1.0", path = "../embassy-std" }
embassy-net = { version = "0.1.0", path = "../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] }
env_logger = "0.8.2"
log = "0.4.11"
futures = "0.3.8"
libc = "0.2.81"
async-io = "1.3.1"
smoltcp = { version = "0.7.0", default-features = false }
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff", default-features = false }
clap = { version = "3.0.0-beta.2", features = ["derive"] }
rand_core = { version = "0.6.0", features = ["std"] }

View File

@ -22,7 +22,7 @@ medium-ip = ["smoltcp/medium-ip"]
defmt = { version = "0.2.0", optional = true }
log = { version = "0.4.11", optional = true }
embassy = { version = "0.1.0" }
embassy = { version = "0.1.0", path = "../embassy" }
managed = { version = "0.8.0", default-features = false, features = [ "map" ]}
heapless = { version = "0.5.6", default-features = false }
@ -33,9 +33,8 @@ futures = { version = "0.3.5", default-features = false, features =
atomic-pool = "0.2.0"
[dependencies.smoltcp]
version = "0.7.0"
#git = "https://github.com/akiles/smoltcp"
#rev = "00952e2c5cdf5667a1dfb6142258055f58d3851c"
git = "https://github.com/smoltcp-rs/smoltcp"
rev = "ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff"
default-features = false
features = [
"proto-ipv4",