Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no_std support for cotton-ssdp #1

Closed
wants to merge 11 commits into from
Closed

no_std support for cotton-ssdp #1

wants to merge 11 commits into from

Conversation

pdh11
Copy link
Owner

@pdh11 pdh11 commented Apr 22, 2023

NB this PR created retrospectively, for ease of blogging about it...

pdh11 added 11 commits April 17, 2023 16:50
Preparing to turn mio and tokio into Cargo features.
Cursor, although mostly trivial, depends on the somewhat complex
std::io::Error and so is not available in no_std.
All features are enabled by default. Currently no-std disables more
than it should (engine and message would still make sense in no-std).
The cotton-ssdp "std" tests need cotton-netif "sync".

We need the os-poll and net features from mio -- I *really* don't
understand how this previously worked.
Because it's not likely to be portable to no_std, as it uses
std::time::Instant. An equivalent thing using MonotonicTime would
be more appropriate to no_std.
And tidy up a few tests that didn't compile with no_std.
It isn't available in no_std.
Because HashMap isn't in no_std.
@pdh11 pdh11 closed this Apr 22, 2023
@pdh11 pdh11 deleted the pdh-ssdp-nostd branch April 22, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant