Skip to content

refactor(e2e)!: fold the profile algorithms onto simple-e2e (0.13.0) - #154

Draft
JustinKovacich wants to merge 5 commits into
mainfrom
feat/e2e-fold-onto-simple-e2e
Draft

refactor(e2e)!: fold the profile algorithms onto simple-e2e (0.13.0)#154
JustinKovacich wants to merge 5 commits into
mainfrom
feat/e2e-fold-onto-simple-e2e

Conversation

@JustinKovacich

Copy link
Copy Markdown
Contributor

Deletes this crate's private E2E Profile 4/5 implementation (~2,000 lines) in favor of the simple-e2e crate, and gives E2ECheckStatus a real Invalid(E2EValidateError) in place of the tagless CrcError / BadArgument. Wire return codes unchanged. See the [0.13.0] CHANGELOG section for the migration table.

Kept in this crate: E2EKey, E2EProfile, the (source, key) registry and its caps, E2ERegistryHandle, e2e::Error.

Draft until simple-e2e 0.1.0 is on crates.io (luminartech/simple_e2e#4) — the root Cargo.toml still carries a [patch.crates-io] path override for local development; the final commit removes it. SemVer Check is expected to fail (intentional major bump under 0.x).

Local verification: clippy pedantic clean across all five CI feature sets and the nightly bare-metal-runtime lane; 472 lib + 14 doc tests green; thumbv7em-none-eabihf builds. The client_server integration suite fails on this dev box identically on origin/main (multicast subscription never registers here), so it's left to CI.

E2ECheckStatus::{CrcError, BadArgument} become Invalid(E2EValidateError),
carrying the profile's real ValidateError (received/computed CRC on a
mismatch). Return codes are unchanged: CRC mismatch -> 2, every other
validation failure -> 6. Configs, states, header sizes, and the six
check_*/protect_* entry points keep their names as aliases/adapters.
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