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

Rework Rekor module structure and enable doc tests #145

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

lkatalin
Copy link
Contributor

Summary

This moves the Rekor module's lib.rs to mod.rs according to Rust convention. This also enables the doc tests to be run on the Rekor module. Since that test was not being run before, doing this exposed errors, which are also fixed in this PR.

Fixes #144

This allows the next commit to pass the cargo doc tests, as that commit
brings in the rekor module test, which was not being run previously.

Signed-off-by: Lily Sturmann <lsturman@redhat.com>
This commit:
- Moves lib.rs to mod.rs according to Rust convention (note: this also
  brings in the doc test for the rekor module, which was not being run
  previously)
- Updates clap-related arguments in rekor/mod.rs

Signed-off-by: Lily Sturmann <lsturman@redhat.com>
@lkatalin lkatalin merged commit ef1121b into sigstore:main Oct 19, 2022
flavio added a commit to flavio/sigstore-rs that referenced this pull request Oct 21, 2022
Fixes
======

* rustls should not require openssl by (sigstore#146)

Others
======

* Rework Rekor module structure and enable doc tests (sigstore#145)

Contributors
============

* Flavio Castelli (@flavio)
* Lily Sturmann (@lkatalin)

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
avery-blanchard pushed a commit to avery-blanchard/sigstore-rs that referenced this pull request Oct 21, 2022
Fixes
======

* rustls should not require openssl by (sigstore#146)

Others
======

* Rework Rekor module structure and enable doc tests (sigstore#145)

Contributors
============

* Flavio Castelli (@flavio)
* Lily Sturmann (@lkatalin)

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
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.

Move Rekor module's lib.rs to mod.rs
2 participants