Jeremiah Russell 8f908df8f3 refactor(rules): apply idiomatic patterns and resolve clippy warnings
- Change add_rule parameter from Option<&String> to Option<&str> for better ergonomics
- Use iterator methods (flat_map, any) instead of manual loops and collections
- Collapse nested if conditions using let-else patterns
- Use format string interpolation instead of separate arguments
- Avoid unnecessary String allocations in label comparisons
- Update CLI code to use as_deref() for Option<String> to Option<&str> conversion
- Update all documentation examples and tests to match new API
- All functionality preserved; API is more idiomatic and efficient
2025-10-19 08:52:23 +01:00
2025-09-29 22:28:57 +01:00
2025-10-16 16:39:19 +00:00
2025-10-16 16:39:19 +00:00
2025-10-16 16:39:19 +00:00
2025-09-29 22:28:57 +01:00
2025-09-29 16:09:44 +01:00
2025-10-19 07:54:12 +01:00
2025-10-16 16:39:19 +00:00

cull-gmail — Generate a change log based on the git commits compatible with keep-a-changelog and using conventional commits to categorize commits

Rust 1.88+ circleci-badge Crates.io Docs MIT licensed BuyMeaCoffee GitHubSponsors

The cull-gmail provides a software library and command line program to enable the culling of emails using the Gmail API.

Main Features

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

cull-gmail Library Documentation

The cull-gmail library provides types to enable the culling of emails using the Gmail API including the following steps:

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

Installation

Add the library to your program's Cargo.toml using cargo add:

$ cargo add cull-gmail

Or by configuring the dependencies manually in Cargo.toml:

[dependencies]
cull-gmail = "0.0.10"

cull-gmail CLI

A command line program to cull emails from Gmail using the Gmail API. The tool has sub-commands to for authorization, planning and executing the move of select email to the Gmail trash folder from which they will be automatically deleted after thirty days.

Installation

Install cull-gmail using Cargo:

cargo install cull-gmail

License

By contributing to cull-gmail, you agree that your contributions will be licensed under the MIT License. This means:

  • You grant permission for your contributions to be used, modified, and distributed under the terms of the MIT License
  • You confirm that you have the right to submit the code under this license
  • You understand that your contributions will become part of the project and available to all users under the MIT License

Contribution

Thank you for your interest in contributing to cull-gmail! We welcome contributions from the community and appreciate your help in making this project better.

Further details can be found in the contribution document.

S
Description
No description provided
Readme
1.1 MiB
Languages
Rust 99.8%
Shell 0.2%