contentauth / c2patool

Command line tool for displaying and adding C2PA manifests
Apache License 2.0
94 stars 30 forks source link

Add better support for cargo-binstall #177

Closed dkozma closed 1 month ago

dkozma commented 1 month ago

Changes in this pull request

Since users have had some issues installing from source due to building things like OpenSSL manually, this uses cargo binstall to allow users to download and install c2patool more easily using prebuilt binaries.

The main advantage with starting with this over Homebrew is that this supports all platforms, where Homebrew only supports macOS.

Note: I haven't been able to really test this since its difficult without having the releases posted and the crates.io information up to date, but hopefully it works. We may need to post a follow-up release or commit to main if there are issues.

This resolves #176.

Checklist

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.18%. Comparing base (1f28705) to head (6f8ed4d).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #177 +/- ## ======================================= Coverage 44.18% 44.18% ======================================= Files 7 7 Lines 722 722 ======================================= Hits 319 319 Misses 403 403 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.