CreepySkeleton
8ca1c22981
Good names for CI + cleanup
2020-02-21 18:21:32 +03:00
CreepySkeleton
9d1cf49ca8
Move to criterion
2020-02-21 18:21:31 +03:00
Pavan Kumar Sunkara
970d7140a3
Use 'Clap Maintainers' as authors
2020-02-10 20:16:25 +01:00
Pavan Kumar Sunkara
33f47acc67
Refactor clap_generate
2020-02-07 07:52:04 +01:00
bors[bot]
509ac33a20
Merge #1664
...
1664: Import structopt r=pksunkara a=CreepySkeleton
OK, here is about 50% of what's left to import.
`impl StructOpt for Box<impl StructOpt>` is not imported because layouts of `StructOpt` and `Clap` are too different. I'll work it out after the import is done.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/clap-rs/clap/1664 )
<!-- Reviewable:end -->
Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
Co-authored-by: David McNeil <mcneil.david2@gmail.com>
2020-02-05 08:43:57 +00:00
Pavan Kumar Sunkara
49f096dab2
Use workspace.default-members
2020-02-04 09:41:05 +01:00
CreepySkeleton
cf11d46373
Default value for default_value
(yeah, sounds awkward)
2020-02-04 11:40:01 +03:00
Pavan Kumar Sunkara
4d2c8ffa6b
Update Cargo.toml files
2020-02-04 09:11:33 +01:00
Dylan DPC
a2ff3fa91b
Revert " imp: Add exitcode::USAGE exit code as suggested in #1327 "
2020-02-03 12:37:37 +01:00
Pavan Kumar Sunkara
6c338e42d0
Faster CI
2020-02-03 03:57:52 +01:00
Dylan DPC
6aaeb2718b
Update Cargo.toml
2020-02-02 01:28:19 +01:00
nazarov A. V
dc4d2faf76
Update yaml-rust to 0.4.3
2020-02-01 14:45:52 +03:00
CreepySkeleton
8be0a94951
Merge pull request #1638 from pksunkara/derive
...
Subtree merge clap_derive into this repo
2020-01-31 02:28:58 +03:00
Pavan Kumar Sunkara
7e0d820aa6
Run clap_derive tests in CI
2020-01-18 19:04:11 +05:30
Daniel Gray
a1445b0f3b
imp: Add exitcode::USAGE exit code as suggested in #1327
...
The reason to do this is described well in issue #1327 . It is also a
recommendation of the Rust book itself:
https://rust-cli.github.io/book/in-depth/exit-code.html
2020-01-17 11:20:45 -04:00
dylan_DPC
a2f9fb5f6c
update bitflag to avoid cant find macro import on lower (1.0) versions
2019-11-30 02:06:52 +01:00
Dylan DPC
dd6c8e08ad
use 2018 edition and minor refactors
2019-11-11 12:54:55 +01:00
Razican
4f97d51f1e
Upgraded ansi_term dependency
2019-10-31 09:05:47 +01:00
Bastien Orivel
ece3f66e0f
Update strsim to 0.9
2019-08-25 13:03:03 +02:00
Erick Tryzelaar
2664703587
Fix most warnings
...
This patch:
* Removes unused `App::contains_long`
* Removes `std::ascii::AsciiExt` (deprecated in 1.26)
* Replaces `trim_left_matches` with `trim_start_matches` (added in 1.30)
* Adds `dyn` (added in 1.27)
* Removes unused `mkeymap::KeyType::{is_short,is_long}`
* Cleans up unused imports
2019-06-19 15:47:50 -07:00
Kevin K
0568dbd741
Merge pull request #1442 from arjunkathuria/v3-master
...
chore: bump the version for textwrap crate from 0.10 to 0.11
2019-04-05 21:15:32 -04:00
Kevin K
573b0a9e88
chore: upgrades to 2018 edition of Rust
2019-04-05 20:21:30 -04:00
Kevin K
3dffd4908c
Removing the lint
features and invoking cargo clippy
manually instead
2019-04-04 13:27:08 -04:00
Kevin K
d2fbc41060
Cargo.toml: Fix typos in description
2019-04-04 13:22:29 -04:00
Arjun Kathuria
fe2ef36112
chore: bump the version for textwrap crate from 0.10 to 0.11
2019-03-30 09:11:47 +05:30
Kevin K
9399174416
perf: trims down some macro usage
2018-11-14 21:04:15 -05:00
Kevin K
7accb93f46
chore: removes clippy dep in favor of cargo clippy
2018-11-14 16:06:20 -05:00
Kevin K
95f949efb0
chore: updates strsim dep
2018-11-14 16:06:07 -05:00
Kevin K
2a480451d3
refactor: clippy run
2018-11-14 14:01:48 -05:00
Kevin K
8dd7783cf3
chore: increase version
2018-10-20 21:55:03 -04:00
Kevin K
0f4096b3d4
imp: let users decide on codegen units and LTO
2018-10-19 23:36:22 -04:00
Kevin K
a769639f8b
chore: prepares for the move to clap-rs org
2018-08-01 23:06:12 -04:00
Kevin K
94e0d38c2d
chore: makes clap_derive a git dependency
2018-07-23 15:51:57 -04:00
Kevin K
ab8c97e3f1
chore: relicense under MIT and APACHE 2.0
2018-07-23 14:25:18 -04:00
Kevin K
53b2ca51f4
refactor(Derives): changes the derive traits for the clap_derive crate
2018-07-13 11:36:53 -04:00
Dylan DPC
580ad94df2
fixed typo for coveralls key
2018-06-26 21:19:02 -04:00
Alan K
8a7ac8f543
imp(yaml): Updated yaml-rust to 0.4
...
Closes #747 , #1110
2018-06-22 13:32:13 +02:00
Kevin K
b033bb5abc
chore: ordermap to indexmap
2018-06-12 10:22:18 -04:00
Kevin K
b7e38fb62a
chore: update deps
2018-06-12 10:18:16 -04:00
Kevin K
c010a9d445
chore: removes doc profile
2018-06-12 10:10:03 -04:00
Matthias Krüger
1e3c715c47
Cargo.toml: use codegen-units = 1 in release and bench profiles.
2018-03-19 17:12:02 -04:00
Will Murphy
74421bb8b7
bump version on term size to 1.0.0-beta1
2018-03-06 06:36:59 -05:00
Kevin K
6971624428
imp(Deps): doesnt compile ansi_term on Windows since its not used
...
Before this commit, ansi_term was compiled anytime the `color` feature
was used. However, on Windows the `color` feature is ignored. Even so
ansi_term was compiled, and just not used. This commit fixes that by
only compiling ansi_term on non-Windows targets. Thanks to @retep998 for
the gudiance.
Closes #1155
2018-02-13 15:43:45 -05:00
Kevin K
e1b10f60aa
chore(Cargo.toml): updates with new excludes to trim package and new badges for crates.io
2018-02-05 16:23:00 -05:00
Kevin K
6a8b301fa4
chore: bumps the Cargo.toml version to 3.0.0-alpha1 to reduce confusion
2018-02-03 15:15:00 -05:00
Kevin K
7673dfc085
perf: refactors the POSIX override handling to lazy handling
...
This commit primarily changes to a lazy handling of POSIX overrides by
relying on github.com/bluss/ordermap instead of the old HashMap impl.
The ordermap allows us to keep track of which arguments arrived first,
and therefore determine which ones should be removed when an override
conflict is found.
This has the added benefit of we no longer have to do the bookkeeping to
keep track and override args as they come in, we can do it once at the
end.
Finally, ordermap allows fast Vec like iteration of the keys, which we
end up doing several times. Benching is still TBD once the v3 prep is
done, but this change should have a meaningful impact.
2018-01-25 15:08:57 -05:00
Igor Gnatenko
836e98084c
deps: update strsim to 0.7
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-01-19 09:39:49 +01:00
Kevin K
df996822c8
chore: increase version
2018-01-16 15:01:53 -05:00
Kevin K
92caafaf51
chore: increase version
2018-01-09 11:08:47 -05:00
Kevin K
e962f2cece
chore: increase version
2017-12-02 15:34:02 -05:00