- Add crates/uad-cli for command-line interface
- Extract shared logic into crates/uad-core
- Separate GUI into crates/uad-gui
- Enable code reuse across components
- `exit` isn't bad for apps, only for libs
- `mem_forget` is rarely a mistake, and is trivial to catch
- `string_to_string` is superseded by `implicit_clone`
- `allow_attributes_without_reason` can be catched by reviewers
* refactor(apply-lints): `cargo clippy --fix`
* style: format code with Rustfmt
This commit fixes the style issues introduced in 7c04d15 according to the output
from Rustfmt.
Details: https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/pull/578
* style(save): call unqualified `Ok`
* style(sync): inline fmt args on `info!`
* style(theme): properly separate hex colors, `allow` `match_same_arms`
* refactor(list-view): `allow` some lints, dedupe text widget
* refactor(list-view): fix 1 `if_not_else`
* fix(utils): `setup_uad_dir` no longer takes `Option`
Also more logging and error handling
* refactor(list-view): `export_selection` `Button` built with common branch
* fix(list-view): fix all warns in 1 file, refactor, err handling, etc...
* style: format code with Rustfmt
This commit fixes the style issues introduced in 49cfa27 according to the output
from Rustfmt.
Details: https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/pull/578
* refactor(lints): `allow`, `expect`, and apply lints. factor `uad_lists.json` into var
Also:
- factors-out the List name into a `const`.
- Converts some regular comments into docs.
- use `reason` as a better alternative to comments.
* docs(name): concise description of `NAME`
* style(theme): apply suggestion from review
---------
Co-authored-by: Rudxain <rudxain@localhost.localdomain>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>