diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-05-28 23:10:15 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-05-28 23:10:15 +0200 |
| commit | f55a30381448732ebee5c50bf768f1c28ff63628 (patch) | |
| tree | ca9cedcfcd1dd3a78abb8163c447b2f39309708f | |
| parent | 4ebc1138520f7a353a3fba060936bc548e09bdbd (diff) | |
net: fix build
| -rw-r--r-- | embassy-net-examples/Cargo.toml | 6 | ||||
| -rw-r--r-- | embassy-net/Cargo.toml | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/embassy-net-examples/Cargo.toml b/embassy-net-examples/Cargo.toml index 0a63a3bbd..413428bf6 100644 --- a/embassy-net-examples/Cargo.toml +++ b/embassy-net-examples/Cargo.toml | |||
| @@ -6,14 +6,14 @@ edition = "2018" | |||
| 6 | 6 | ||
| 7 | [dependencies] | 7 | [dependencies] |
| 8 | heapless = { version = "0.5.6", default-features = false } | 8 | heapless = { version = "0.5.6", default-features = false } |
| 9 | embassy = { version = "0.1.0", features=["std", "log"] } | 9 | embassy = { version = "0.1.0", path = "../embassy", features=["std", "log"] } |
| 10 | embassy-std = { version = "0.1.0" } | 10 | embassy-std = { version = "0.1.0", path = "../embassy-std" } |
| 11 | embassy-net = { version = "0.1.0", path = "../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] } | 11 | embassy-net = { version = "0.1.0", path = "../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] } |
| 12 | env_logger = "0.8.2" | 12 | env_logger = "0.8.2" |
| 13 | log = "0.4.11" | 13 | log = "0.4.11" |
| 14 | futures = "0.3.8" | 14 | futures = "0.3.8" |
| 15 | libc = "0.2.81" | 15 | libc = "0.2.81" |
| 16 | async-io = "1.3.1" | 16 | async-io = "1.3.1" |
| 17 | smoltcp = { version = "0.7.0", default-features = false } | 17 | smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff", default-features = false } |
| 18 | clap = { version = "3.0.0-beta.2", features = ["derive"] } | 18 | clap = { version = "3.0.0-beta.2", features = ["derive"] } |
| 19 | rand_core = { version = "0.6.0", features = ["std"] } | 19 | rand_core = { version = "0.6.0", features = ["std"] } |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 36f64dbd4..30970c371 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -22,7 +22,7 @@ medium-ip = ["smoltcp/medium-ip"] | |||
| 22 | defmt = { version = "0.2.0", optional = true } | 22 | defmt = { version = "0.2.0", optional = true } |
| 23 | log = { version = "0.4.11", optional = true } | 23 | log = { version = "0.4.11", optional = true } |
| 24 | 24 | ||
| 25 | embassy = { version = "0.1.0" } | 25 | embassy = { version = "0.1.0", path = "../embassy" } |
| 26 | 26 | ||
| 27 | managed = { version = "0.8.0", default-features = false, features = [ "map" ]} | 27 | managed = { version = "0.8.0", default-features = false, features = [ "map" ]} |
| 28 | heapless = { version = "0.5.6", default-features = false } | 28 | heapless = { version = "0.5.6", default-features = false } |
| @@ -33,9 +33,8 @@ futures = { version = "0.3.5", default-features = false, features = | |||
| 33 | atomic-pool = "0.2.0" | 33 | atomic-pool = "0.2.0" |
| 34 | 34 | ||
| 35 | [dependencies.smoltcp] | 35 | [dependencies.smoltcp] |
| 36 | version = "0.7.0" | 36 | git = "https://github.com/smoltcp-rs/smoltcp" |
| 37 | #git = "https://github.com/akiles/smoltcp" | 37 | rev = "ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff" |
| 38 | #rev = "00952e2c5cdf5667a1dfb6142258055f58d3851c" | ||
| 39 | default-features = false | 38 | default-features = false |
| 40 | features = [ | 39 | features = [ |
| 41 | "proto-ipv4", | 40 | "proto-ipv4", |
