Skip to content

embassy-usb-driver: remove dependency on embedded-io-async#5589

Open
yodaldevoid wants to merge 1 commit intoembassy-rs:mainfrom
yodaldevoid:embassy-usb-driver_embedded-io-async_separation
Open

embassy-usb-driver: remove dependency on embedded-io-async#5589
yodaldevoid wants to merge 1 commit intoembassy-rs:mainfrom
yodaldevoid:embassy-usb-driver_embedded-io-async_separation

Conversation

@yodaldevoid
Copy link
Contributor

EndpointError is no longer being used as the error type for any embedded-io-async impls in embedded-usb which was the original reason for the dependency. It has been previously expressed that we would like to remove this dependency so that embassy-usb-driver doesn't need to be released each time embedded-io-async updates.

`EndpointError` is no longer being used as the error type for any
`embedded-io-async` impls in `embedded-usb` which was the original
reason for the dependency. It has been previously expressed that we
would like to remove this dependency so that `embassy-usb-driver`
doesn't need to be released each time `embedded-io-async` updates.
@Dirbaio
Copy link
Member

Dirbaio commented Mar 4, 2026

The point of not depending on embedded-io is to avoid breaking changes, but removing it is also a breaking change. This is why I left it as a TODO. We should leave it there until we have an actual reason to make a breaking change(e.g. an actual design deficiency in the traits that can't be fixed backwards-compatibly) and release 0.3.

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.

2 participants