aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-driver
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-06-29 19:51:16 +0200
committerDario Nieuwenhuis <[email protected]>2023-06-29 19:55:32 +0200
commit6eac49186d5a5da4c310027e59adcd0bf44ae514 (patch)
tree3cbd9c15c68c7ee3859a17ec6d6fc7150e569686 /embassy-net-driver
parent4feabb13bfbda46de74be09566118adc1ba49d5d (diff)
Release embassy-net v0.1
Diffstat (limited to 'embassy-net-driver')
-rw-r--r--embassy-net-driver/Cargo.toml11
-rw-r--r--embassy-net-driver/README.md16
2 files changed, 26 insertions, 1 deletions
diff --git a/embassy-net-driver/Cargo.toml b/embassy-net-driver/Cargo.toml
index ff6f29355..da6d9ad62 100644
--- a/embassy-net-driver/Cargo.toml
+++ b/embassy-net-driver/Cargo.toml
@@ -3,7 +3,13 @@ name = "embassy-net-driver"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6description = "Driver trait for the `embassy-net` async TCP/IP network stack."
7repository = "https://github.com/embassy-rs/embassy"
8categories = [
9 "embedded",
10 "no-std",
11 "asynchronous",
12]
7 13
8[package.metadata.embassy_docs] 14[package.metadata.embassy_docs]
9src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-driver-v$VERSION/embassy-net-driver/src/" 15src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-driver-v$VERSION/embassy-net-driver/src/"
@@ -11,5 +17,8 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-d
11features = ["defmt"] 17features = ["defmt"]
12target = "thumbv7em-none-eabi" 18target = "thumbv7em-none-eabi"
13 19
20[package.metadata.docs.rs]
21features = ["defmt"]
22
14[dependencies] 23[dependencies]
15defmt = { version = "0.3", optional = true } \ No newline at end of file 24defmt = { version = "0.3", optional = true } \ No newline at end of file
diff --git a/embassy-net-driver/README.md b/embassy-net-driver/README.md
index 84f25492d..6a757380d 100644
--- a/embassy-net-driver/README.md
+++ b/embassy-net-driver/README.md
@@ -1,5 +1,21 @@
1# embassy-net-driver 1# embassy-net-driver
2 2
3This crate contains the driver trait necessary for adding [`embassy-net`](https://crates.io/crates/embassy-net) support
4for a new hardware platform.
5
6If you want to *use* `embassy-net` with already made drivers, you should depend on the main `embassy-net` crate, not on this crate.
7
8If you are writing a driver, you should depend only on this crate, not on the main `embassy-net` crate.
9This will allow your driver to continue working for newer `embassy-net` major versions, without needing an update,
10if the driver trait has not had breaking changes.
11
12See also [`embassy-net-driver-channel`](https://crates.io/crates/embassy-net-driver-channel), which provides a higer-level API
13to construct a driver that processes packets in its own background task and communicates with the `embassy-net` task via
14packet queues for RX and TX.
15
16## Interoperability
17
18This crate can run on any executor.
3 19
4## License 20## License
5 21