-
-
Notifications
You must be signed in to change notification settings - Fork 3k
ksud: update dependencies #3096
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates dependencies in the ksud project, primarily focusing on updating which (7→8), zip (3→7), and zip-extensions (0.8→0.13). The changes also modernize string formatting throughout the codebase by converting from old-style format strings to inline format strings.
- Updated key dependencies:
which,zip, andzip-extensions - Modernized string formatting using inline format syntax
- Fixed import path for
zip_extract_file_to_memoryto accommodate zip-extensions API changes
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| userspace/ksud/Cargo.toml | Updated dependency versions for which, zip, and zip-extensions |
| userspace/ksud/Cargo.lock | Reflected dependency updates with new version checksums and transitive dependencies |
| userspace/ksud/src/su.rs | Modernized format strings for GID error messages |
| userspace/ksud/src/sepolicy.rs | Modernized format strings for policy parsing and rule application errors |
| userspace/ksud/src/module_config.rs | Modernized format strings for config validation and magic number errors |
| userspace/ksud/src/module.rs | Updated zip-extensions import path and modernized module ID validation error format |
| userspace/ksud/src/metamodule.rs | Modernized format strings for script execution errors |
| userspace/ksud/src/feature.rs | Modernized format string for unknown feature error |
| userspace/ksud/src/boot_patch.rs | Modernized format strings and improved error message formatting with .display() for paths |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixed `zip` and `zip-extensions` errors. Signed-off-by: rsuntk <[email protected]>
Fixed `zip` and `zip-extensions` errors.
Fixed `zip` and `zip-extensions` errors.
Fixed `zip` and `zip-extensions` errors.
Fixed `zip` and `zip-extensions` errors.
Fixed
zipandzip-extensionserrors.Some changes made by AI, so please review, edits welcomed.