Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

async-coap-uri: Rewrite AnyUriRef::write_resolved to not depend on allocation #9

Open
darconeous opened this issue Aug 26, 2019 · 0 comments
Assignees
Labels

Comments

@darconeous
Copy link
Contributor

AnyUriRef::write_resolved, as currently written, depends on the std crate, due to the use of dynamically-sized container types. It should be possible to rewrite this method in such a way that this dependency is no longer required.

This issue is the largest impediment to allowing async-coap-uri to work in no-std environments.

Additionally, while the method does currently pass the rather large unit test corpus, the implementation is a bit of a mess. Any re-write should also attempt to make the code easier to follow.

@darconeous darconeous self-assigned this Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant