rust-embedded-community / embedded-nal

An Embedded Network Abstraction Layer
Apache License 2.0
177 stars 25 forks source link

pub use heapless #48

Closed chrysn closed 3 years ago

chrysn commented 3 years ago

This is needed by embedded-nal trait implementers who build get_host_by_address results, or by trait users who pass the results on.

Closes: https://github.com/rust-embedded-community/embedded-nal/issues/17

Without this, they have to pull in a heapless dependency on their own and pray it resolves to the same version (aided by careful adjustment of the version they depend on). With this, they can just operate on the type embedded-nal uses.