Skip to content

Feature request: library-only build #124

@joshhansen

Description

@joshhansen

When used as a library, all-smi imposes a number of irrelevant dependencies seemingly only useful to the command line application, rather than the core monitoring logic. Examples include:

  • clap
  • crossterm
  • hyper

Perhaps there are others.

This feature request is to feature-gate the command line application and such dependencies under a cli feature. This would permit use of all-smi as a library without these dependencies. Thanks for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions