mirror of
https://github.com/clap-rs/clap
synced 2025-01-08 10:48:45 +00:00
500def4904
Adding in a `StructOpt` derive with `structopt` attributes, with deprecation notices. Unofrtunately, not as many deprecation warnings as I would like. Apparently, you can't do them for a `use` of a derive? I also wanted to inject code that would trigger a deprecation notice for attributes but that would require enough of a refactor that I didn't consider it worth it. We are at least providing a transition window even if it means we'll have to remvoe it next major release without a deprecation warning.
32 lines
530 B
Rust
32 lines
530 B
Rust
#![cfg(feature = "derive")]
|
|
|
|
mod app_name;
|
|
mod arg_enum;
|
|
mod argument_naming;
|
|
mod arguments;
|
|
mod author_version_about;
|
|
mod basic;
|
|
mod boxed;
|
|
mod custom_string_parsers;
|
|
mod default_value;
|
|
mod deny_warnings;
|
|
mod doc_comments_help;
|
|
mod explicit_name_no_renaming;
|
|
mod flags;
|
|
mod flatten;
|
|
mod generic;
|
|
mod help;
|
|
mod issues;
|
|
mod macros;
|
|
mod nested_subcommands;
|
|
mod non_literal_attributes;
|
|
mod options;
|
|
mod privacy;
|
|
mod raw_bool_literal;
|
|
mod raw_idents;
|
|
mod rename_all_env;
|
|
mod skip;
|
|
mod structopt;
|
|
mod subcommands;
|
|
mod utf8;
|
|
mod utils;
|