Skip to content

Clap should be an optional feature #79

@adamchalmers

Description

@adamchalmers

twilio-api derives clap::ValueEnum here, which means any consumers of twilio-api need to compile clap. Clap is a really big crate, and consumers shouldn't be forced to compile clap unless they actually run a CLI.

Suggestion: twilio-api should have an optional Cargo feature for clap. Consumers who want CLI support can opt into it. Consumers (like api-deux) that don't need it, won't enable it, and won't have to compile clap.

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