anyhow: it's barely used, seems to be used for one error
chrono: used to get the time. Use Instant::now(); instead?
env_logger: built into log already
serde and serde_json: I don't know if they are necessary
tempfile: a lot of dependencies and could probably be replaced easily
I'm no expert but it seems like you can remove a lot of dependencies from this. This is good because the less other moving parts you need to rely on, the smaller, faster, and less likely to break / be exposed to potentially harmful code you are.
As an example is-terminal is one crate that was downloaded - it runs something that on linux can be one line of code.