Skip to content

Conversation

@ansasaki
Copy link
Contributor

@ansasaki ansasaki commented Jun 9, 2022

This change replaces clap::App with clap::Command in main.rs file.

On commit f3fa925 the clap dependency in Cargo.lock file was updated
from version 3.0.14 to version 3.1.18.

In clap version 3.1.0, clap::App was deprecated in favor of
clap::Command. This causes warnings during the Keylime agent build due
to the usage of the deprecated structure.

To avoid similar issues in the future, use the tilde dependency version
requirement to allow versions >= 3.1.18 but < 3.2.0.

Signed-off-by: Anderson Toshiyuki Sasaki ansasaki@redhat.com

This change replaces clap::App with clap::Command in main.rs file.

On commit f3fa925 the clap dependency in Cargo.lock file was updated
from version 3.0.14 to version 3.1.18.

In clap version 3.1.0, clap::App was deprecated in favor of
clap::Command.  This causes warnings during the Keylime agent build due
to the usage of the deprecated structure.

To avoid similar issues in the future, use the tilde dependency version
requirement to allow versions >= 3.1.18 but < 3.2.0.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
@lkatalin lkatalin merged commit 9229cb4 into keylime:master Jun 9, 2022
@ansasaki ansasaki deleted the clap_app branch September 27, 2023 08:32
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.

4 participants