Commit Briefs
Bump version to 0.4.1 (tags/0.4.1)
The version number in Cargo.toml was not updated from 0.3.0 to 0.4.0 in the 0.4.0 release, this is "fixed" with a new patch release bumping the version.
Specify RSS and Atom support in man page (tags/0.4.0)
Add `--no-fetch` to skip fetching feeds
Implements: https://todo.sr.ht/~witcher/rss-email/20
Move `cache.db` to proper xdg dir
Implements: https://todo.sr.ht/~witcher/rss-email/22
Replace env_logger with simple_logger
With simple_logger the logging level can bet set with an argument instead of relying on an environment variable. This enables the command line flag `-v` for specifying the logging level, which is a little more ergonomic than an environment variable.
Enable config file attributes on command line
All possible configuration file attributes can be given on the command line instead and, if all have been given, no configuration file is needed for the program to run. Implements: https://todo.sr.ht/~witcher/rss-email/24 References: https://todo.sr.ht/~witcher/rss-email/13
Move `to` and `from` to `mail` section
The configuration attributes `to` and `from` from the global section of the configuration file have been moved into a `mail` section. References: https://todo.sr.ht/~witcher/rss-email/24
Introduce Mail struct
The `Mail` struct allows the caller to not have to worry about the format of an email.
Extend README.md with new man page
Also fix `sqlx-cli` mistakenly being referred to as `cargo-sqlx`.
Supply defaults for optional command line args
Implements: https://todo.sr.ht/~witcher/rss-email/18
Allow urls to be commented out
Lines in the URLs file starting with `#` are filtered out. Implements: https://todo.sr.ht/~witcher/rss-email/17
Leave a note on the impact of the "pool" feature
I had previously implemented sending of emails with the async transport (together with async fetching of RSS), though I now realise I'd never sent the patch. While implementing this, I realised that the "pool" feature has a huge impact on the speed of sending emails: by merely having the feature enabled the transport instance will keep the connection open between messages (avoiding a connecting and authenticating a second time). Just leaving a comment on that for future reference.
