This repository was archived by the owner on Sep 13, 2023. It is now read-only.
This repository was archived by the owner on Sep 13, 2023. It is now read-only.
Need to have structopt/serde as peer dependency #9
Open
Description
The structopt derive macro doesn't work unless the current project allows extern crate structopt;
.
This means, user of quicli must cargo add structopt
, which is not that cool.
This is part of this code which expands to something like:
const _IMPL_STRUCTOPT_FOR_Cli: () = {
extern crate structopt as _structopt;
use structopt::StructOpt;
impl _structopt::StructOpt for Cli {
Maybe we can add a feature to either suppress or customize this upstream?
Same is also true for serde! (Thanks to this code)