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

Add ethercrab-wire and ethercrab-wire-derive crates #141

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

jamwaffles
Copy link
Collaborator

@jamwaffles jamwaffles commented Jan 7, 2024

To replace packed_struct, num-enum and nom.

These are experimental crates that have custom derives for reading/writing from/to EtherCAT wire representations. They will hopefully become more useful to end users in the future for things like autoconfiguration from ESI files and such.

This is a split of #139 as that PR is huge and unwieldy due to high doses of scope creep.

These crates will be released with a breaking minor release of ethercrab when it has migrated to use these traits.

@jamwaffles jamwaffles force-pushed the custom-derive-crates branch 5 times, most recently from 6f5916a to 30f9349 Compare January 7, 2024 19:47
jamwaffles added a commit that referenced this pull request Jan 7, 2024
To replace `packed_struct`, `num-enum` and `nom.

These are experimental crates that have custom derives for
reading/writing from/to EtherCAT wire representations. They will
hopefully become more useful to end users in the future for things like
autoconfiguration from ESI files and such.

This is a split of #139 as that PR is huge and unwieldy due to high
doses of  scope creep
To replace `packed_struct`, `num-enum` and `nom`.

These are experimental crates that have custom derives for
reading/writing from/to EtherCAT wire representations. They will
hopefully become more useful to end users in the future for things like
autoconfiguration from ESI files and such.

This is a split of #139 as that PR is huge and unwieldy due to high
doses of  scope creep
I believe this was accidentally broken after the merge of #134. The CI
should've caught the error before this moment in time. Maybe something
to do with adding the `--workspace` flag to cargo test? Unsure.
@jamwaffles jamwaffles merged commit e9d0e81 into master Jan 7, 2024
7 checks passed
@jamwaffles jamwaffles deleted the custom-derive-crates branch January 7, 2024 19:51
jamwaffles added a commit that referenced this pull request Jan 7, 2024
To replace `packed_struct`, `num-enum` and `nom`.

These are experimental crates that have custom derives for
reading/writing from/to EtherCAT wire representations. They will
hopefully become more useful to end users in the future for things like
autoconfiguration from ESI files and such.

This is a split of #139 as that PR is huge and unwieldy due to high
doses of  scope creep
jamwaffles added a commit that referenced this pull request Jan 7, 2024
jamwaffles added a commit that referenced this pull request Jan 7, 2024
* Remove `packed_struct` and `num_enum`, use `ethercrab_wire_derive` instead

* Remove `PduRead` and `PduData`

* Fix changelog links for #141
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.

1 participant