Skip to content

Add hermes-yamcs lib target - #272

Open
FarkasJoseph wants to merge 3 commits into
nasa:mainfrom
FarkasJoseph:hermes-yamcs/lib-target
Open

FarkasJoseph wants to merge 3 commits into
nasa:mainfrom
FarkasJoseph:hermes-yamcs/lib-target

Conversation

@FarkasJoseph

Copy link
Copy Markdown

CI runs cargo test --workspace --all-features --lib, but hermes-yamcs is currently bin-only, so any test added to it passes locally but is silently skipped in CI.

This PR adds a lib.rs re-exporting the existing modules and makes main.rs a thin binary over it.

This PR also includes the compatibility changes from #264, which will disappear from the diff once that merges.

FarkasJoseph and others added 3 commits September 15, 2026 16:48
CI's build-rust-crates.yml only runs 'cargo test --workspace --all-features
--lib', which never exercises a bin-only crate's #[cfg(test)] modules. This
crate has been bin-only, so every unit test in it has been silently skipped.

Add src/lib.rs re-exporting the existing modules, make main.rs a thin binary
over the library. No behavior change.
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