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

improve command line utility #119

Merged
merged 6 commits into from
Nov 23, 2024
Merged

improve command line utility #119

merged 6 commits into from
Nov 23, 2024

Conversation

mcroomp
Copy link
Collaborator

@mcroomp mcroomp commented Nov 22, 2024

  • Use a real, but tiny argument parser (unfortunately this means all the switches now get -- as per unix standard)
  • Add option to scan a whole directory and verify that the compressor works
  • Include the option to run cpp version of lepton to verify that the files are all decompressable by the standard version

src/main.rs Outdated Show resolved Hide resolved
@Melirius
Copy link
Collaborator

LGTM, what do you think about lifting the Lepton file size limit here also? Or introducing command-line switch for it?

@Melirius
Copy link
Collaborator

Melirius commented Nov 22, 2024

And there is an error in WASM version about thread priority, it needs guards then. As well as on Linux.

@mcroomp
Copy link
Collaborator Author

mcroomp commented Nov 22, 2024

LGTM, what do you think about lifting the Lepton file size limit here also? Or introducing command-line switch for it?

Added the filesize limit to enabled features so it can be overridden

@mcroomp mcroomp merged commit 06b5d7b into main Nov 23, 2024
3 checks passed
@mcroomp mcroomp deleted the verify branch November 23, 2024 03:10
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