aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-06 14:39:53 +0000
committerGitHub <[email protected]>2021-12-06 14:39:53 +0000
commit8b4a247af2b54bd4deb8416b6181791e381c5aa3 (patch)
tree02b92fca68f626b3e5cd1dd445b67b741e284e4d
parent7c155c3abaee8aea32896e20ce14bce6efa1eb1b (diff)
parenta802fd83aa3e78a6a3b746ec5c93abb3d916a191 (diff)
Merge #517
517: Fix embassy-net documentation of running examples. r=lulf a=matoushybl and fix weird indentation. Co-authored-by: Matous Hybl <[email protected]>
-rw-r--r--embassy-net/README.md5
-rw-r--r--examples/std/Cargo.toml4
2 files changed, 5 insertions, 4 deletions
diff --git a/embassy-net/README.md b/embassy-net/README.md
index 64f656709..9657e3589 100644
--- a/embassy-net/README.md
+++ b/embassy-net/README.md
@@ -17,10 +17,11 @@ sudo ip -6 route add fe80::/64 dev tap0
17sudo ip -6 route add fdaa::/64 dev tap0 17sudo ip -6 route add fdaa::/64 dev tap0
18``` 18```
19 19
20Then, run it 20Then run the example located in the `examples` folder:
21 21
22```sh 22```sh
23cargo run --bin embassy-net-examples 23cd $EMBASSY_ROOT/examples/std/
24cargo run --bin net
24``` 25```
25 26
26## License 27## License
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml
index 9a9961a36..450911fa1 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -15,5 +15,5 @@ log = "0.4.14"
15nix = "0.22.1" 15nix = "0.22.1"
16libc = "0.2.101" 16libc = "0.2.101"
17clap = { version = "3.0.0-beta.5", features = ["derive"] } 17clap = { version = "3.0.0-beta.5", features = ["derive"] }
18rand_core = { version = "0.6.3", features = ["std"] } 18rand_core = { version = "0.6.3", features = ["std"] }
19heapless = { version = "0.7.5", default-features = false } 19heapless = { version = "0.7.5", default-features = false }