Skip to content

Remove some cargo depandancies that could be built in to avoid future problems and unneeded packages #30

@DonFlymoor

Description

@DonFlymoor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions