clap/tests
Kevin K 4cc85990fd
refactor: removed strings as an internal ID for arguments, groups, and
subcommands

This commit changes the internal ID to a u64 which will allow for
greater optimizations down the road. In addition, it lays the ground
work for allowing users to use things like enum variants as argument
keys instead of strings.

The only downside is each key needs to be hashed (the implementation
used is an FNV hasher for performance). However, the performance gains
in faster iteration, comparison, etc. should easily outweigh the single
hash of each argument.

Another benefit of if this commit is the removal of several lifetime
parameters, as it stands Arg and App now only have a single lifetime
parameter, and ArgMatches and ArgGroup have no lifetime parameter.
2019-04-05 20:21:22 -04:00
..
app.yml Support loading help_message and version_message from the YAML 2017-03-10 01:54:50 -05:00
app_2space.yml tests(yaml): Added future test for 2 space yaml 2018-06-22 13:50:44 +02:00
app_settings.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
arg_aliases.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
borrowed.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
conflicts.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
default_vals.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
delimiters.rs refactor(Arg): changes Arg::short to accept a char instead of &str 2018-07-23 15:10:12 -04:00
derive_order.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
env.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
example1_tmpl_full.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
example1_tmpl_simple.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
flags.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
global_args.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
groups.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
help.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
hidden_args.rs style: rustfmt run 2018-08-01 23:13:51 -04:00
indices.rs style: rustfmt run 2018-08-01 23:13:51 -04:00
macros.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
multiple_occurrences.rs replace Arg::from_usage by Arg::from 2018-04-21 11:59:19 -07:00
multiple_values.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
opts.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
positionals.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
posix_compatible.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
possible_values.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
propagate_globals.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
require.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
subcommands.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
template_help.rs refactor: removed strings as an internal ID for arguments, groups, and 2019-04-05 20:21:22 -04:00
tests.rs style: cargo fmt run 2018-11-14 12:05:06 -05:00
unique_args.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
utf8.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00
version-numbers.rs docs: add html_root_url attribute 2017-09-23 12:50:21 +02:00
version.rs refactor: clippy run 2018-11-14 14:01:48 -05:00
yaml.rs refactor: remove code going to other crates and deprecations 2018-10-19 23:31:06 -04:00