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

Drop unused rustc-serialize and flate2 dependencies and make wiremock optional #395

Merged
merged 3 commits into from
Jun 10, 2022

Conversation

ansasaki
Copy link
Contributor

@ansasaki ansasaki commented Jun 9, 2022

Drop unused rustc-serialize and flate2 dependencies and make wiremock an optional dependency used when the testing feature is enabled.

Fixes #301

Cargo.toml Show resolved Hide resolved
@ansasaki ansasaki force-pushed the drop_dependencies branch from 703c26d to c1916f8 Compare June 10, 2022 07:42
ansasaki added 3 commits June 10, 2022 07:09
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
Make a wiremock optional, enabled when the 'testing' feature is enabled.
The goal is to reduce the number of dependencies, with the downside that
the test code coverage will drop.

Wiremock is currently used only on 'registrar_agent' tests to mock
responses from the registrar service.

Note: wiremock was moved to be an optional regular dependency because
optional dev-dependencies are not supported.
see: rust-lang/cargo#1596

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
@ansasaki ansasaki force-pushed the drop_dependencies branch from c1916f8 to c31174a Compare June 10, 2022 10:09
@ansasaki ansasaki merged commit c3f0b4f into keylime:master Jun 10, 2022
@ansasaki ansasaki deleted the drop_dependencies branch June 14, 2022 10:42
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.

registrar_agent: Mock without wiremock
6 participants