rust-embedded-community / embedded-nal

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

TcpClient trait for creating shared TCP/IP stack #69

Closed lulf closed 2 years ago

lulf commented 2 years ago

New set of traits using embedded-io that allows creating shared TCP stack implementations using async.

lulf commented 2 years ago

Commits have been squashed. I'll do the removal of the existing traits in another PR so that we can keep any discussion separate.

@MathiasKoch ^^

MathiasKoch commented 2 years ago

Sure thing. Here we go! Thanks for the awesome work and the great discussion guys!

I'll wait with the release for the cleanup PR i guess?

lulf commented 2 years ago

I'll have the PR ready shortly. Also, I noticed the previous release is 0.1.0, but is there a convention that it should have a -alpha for releases until the API is stable, or is 0.2.0 fine?

MathiasKoch commented 2 years ago

I think the consensus was to have the -async in its own crate in order for it to move faster than the blocking, so I would say 0.2.0 is okay?