embassy-net-driver

Crates.ioembassy-net-driver
lib.rsembassy-net-driver
version0.2.0
sourcesrc
created_at2023-01-03 19:03:20.666658
updated_at2023-10-18 03:47:04.753973
descriptionDriver trait for the `embassy-net` async TCP/IP network stack.
homepage
repositoryhttps://github.com/embassy-rs/embassy
max_upload_size
id750335
size11,853
Dario Nieuwenhuis (Dirbaio)

documentation

README

embassy-net-driver

This crate contains the driver trait necessary for adding embassy-net support for a new hardware platform.

If you want to use embassy-net with already made drivers, you should depend on the main embassy-net crate, not on this crate.

If you are writing a driver, you should depend only on this crate, not on the main embassy-net crate. This will allow your driver to continue working for newer embassy-net major versions, without needing an update, if the driver trait has not had breaking changes.

See also embassy-net-driver-channel, which provides a higer-level API to construct a driver that processes packets in its own background task and communicates with the embassy-net task via packet queues for RX and TX.

Interoperability

This crate can run on any executor.

License

This work is licensed under either of

at your option.

Commit count: 8184

cargo fmt