Commit graph

1612 commits

Author SHA1 Message Date
Dabo Ross
ffe1458882 Replace crate_version!() macro with simpler call
As of https://github.com/rust-lang/cargo/pull/1094, cargo publishes the full crate version as `CARGO_PKG_VERSION`, rather than *just* the parts of it.

This replaces the more complicated call with simply `env!("CARGO_PKG_VERSION").to_owned()`.
2015-09-12 20:22:01 -07:00
James McGlashan
f76e4fd833 Merge pull request #250 from kbknapp/new-benches
PRs accepted out of order
2015-09-11 14:58:47 +10:00
James McGlashan
1316d211c2 Merge branch 'master' into new-benches 2015-09-11 14:50:09 +10:00
Kevin K.
091f096066 Merge pull request #248 from james-darkfox/new-benches
fix: Macro benchmarks
2015-09-10 14:37:46 -04:00
Kevin K.
400af3ca3a Merge pull request #246 from kbknapp/new-benches
New benches
2015-09-10 14:22:36 -04:00
James McGlashan
13712da1d3 fix: Macro benchmarks 2015-09-10 22:23:58 +10:00
Kevin K
cf99d7aad0 Merge branch 'master' into new-benches 2015-09-09 22:19:14 -04:00
Kevin K
87f3a47eaa tests: adds benches for builder vs from_usage 2015-09-09 22:15:25 -04:00
Alexander Kuvaev
6f3f80ec33 Merge pull request #243 from kbknapp/Readme_fixes
Quick examples fixes
2015-09-10 00:54:10 +03:00
Alexander Kuvaev
1e805a1394 Merge branch 'master' into Readme_fixes 2015-09-10 00:43:16 +03:00
Alexander Kuvaev
e5e4244f0a Merge pull request #244 from sru/toc
Table of Contents
2015-09-10 00:42:56 +03:00
SungRim Huh
44fe789a66 chore(README.md): add table of contents 2015-09-09 15:47:55 -05:00
SungRim Huh
283588c2b7 chore(README.md): shorten 'How to Contribute' section 2015-09-09 15:42:55 -05:00
Alexander Kuvaev
f587fb8319 chore: update README.md 2015-09-09 16:26:57 +03:00
Alexander Kuvaev
4ba6249c3c examples: add clap_app quick example 2015-09-09 16:21:59 +03:00
Kevin K.
87c4743460 Merge pull request #241 from kbknapp/incver
chore: increase version
2015-09-09 00:34:53 -04:00
Kevin K
07f6d63e17 chore: increase version 2015-09-09 00:00:17 -04:00
Kevin K.
60df15c6f5 Merge pull request #240 from kbknapp/issue-231
Issue 231 + Others
2015-09-08 22:57:23 -04:00
Kevin K.
c0c1613188 Merge branch 'master' into issue-231 2015-09-08 22:49:07 -04:00
Kevin K.
3d1bc93867 Merge pull request #238 from james-darkfox/builder-macro
feat: Builder macro to assist with App/Arg/Group/SubCommand building
2015-09-08 22:46:44 -04:00
Kevin K
4a6ad4e73a tests(App Help): tests writing of App help message 2015-09-08 22:39:31 -04:00
Kevin K
1e6403b6a8 feat(Errors): allows consumers to write to stderr and exit on error 2015-09-08 22:38:44 -04:00
Kevin K
56b95f3208 feat: allows printing help message by library consumers 2015-09-08 22:38:07 -04:00
James McGlashan
a99e96d224 New contributor! 2015-09-09 12:28:16 +10:00
Kevin K
f9c04aeb2c tests(App): adds print_help test 2015-09-08 21:03:20 -04:00
Kevin K
c92a98fb67 tests(Hidden Args): fixes tests to include hidden field 2015-09-08 21:02:54 -04:00
Kevin K
2cab4d0334 feat: allows defining hidden args and subcmds
Closes #231
2015-09-08 20:45:14 -04:00
James McGlashan
443841b012 feat: Builder macro to assist with App/Arg/Group/SubCommand building 2015-09-08 22:53:31 +10:00
Kevin K.
ebdd73f37e Merge pull request #237 from kbknapp/incver
chore: increase version
2015-09-07 21:45:34 -04:00
Kevin K
211e9d7ab3 chore: increase version 2015-09-07 21:37:17 -04:00
Kevin K.
6f97bd073c Merge pull request #236 from kbknapp/interactive-cli
feat: adds abiltiy not consume self when parsing matches and/or exit …
2015-09-07 21:26:57 -04:00
Kevin K
94003db4b5 feat: adds abiltiy not consume self when parsing matches and/or exit on help 2015-09-07 21:18:00 -04:00
Kevin K.
f9144c978b Merge pull request #233 from kbknapp/readme
chore: fixes spelling in readme
2015-09-07 11:20:38 -04:00
Kevin K
26899e95cd chore: fixes spelling in readme 2015-09-06 22:17:17 -04:00
Kevin K.
7b01df6957 Merge pull request #232 from kbknapp/rustfmt
Runs rustfmt against code base
2015-09-06 21:50:03 -04:00
Kevin K
81ad800cd8 Merge branch 'master' into rustfmt
Closes #230
2015-09-06 21:43:15 -04:00
Kevin K
40229efd99 style: post rustfmt run 2015-09-06 21:37:45 -04:00
Alexander Kuvaev
72ff0b9c17 Merge pull request #227 from Vinatorul/dev
Switching run_tests.py to Rust tests
2015-09-06 23:49:48 +03:00
Alexander Kuvaev
5ef59a7a19 tests: fixed yaml test 2015-09-06 23:34:15 +03:00
Alexander Kuvaev
7a2375bcea tests: add tests for requires 2015-09-06 23:13:55 +03:00
Alexander Kuvaev
7fdcb4761a tests: Added requirement override tests 2015-09-06 22:34:37 +03:00
Alexander Kuvaev
952fa4d246 tests: conflict override tests 2015-09-06 22:22:37 +03:00
Alexander Kuvaev
7e3e696471 tests: Add sub_command_negate_requred false-negative test 2015-09-06 22:13:16 +03:00
Alexander Kuvaev
a4a00b03e3 tests: add tests for flag and groups conflicts 2015-09-06 13:46:58 +03:00
Kevin K.
a7eb9519b3 Merge pull request #226 from Vinatorul/dev
Updated How to Contribute
2015-09-05 23:37:29 -04:00
Alexander Kuvaev
ecc084e32c chore: updated How to Contribute 2015-09-06 02:08:54 +03:00
Alexander Kuvaev
71dedcae3f Merge pull request #225 from Vinatorul/doc_fix
Changed examples content
2015-09-06 01:53:50 +03:00
Alexander Kuvaev
b9ca261634 docs(ClapErrorType): changed examples content 2015-09-06 01:44:20 +03:00
Alexander Kuvaev
fddd67615a Merge pull request #224 from Vinatorul/doc_fix
Fixed ClapErrorType docs
2015-09-06 01:18:28 +03:00
Alexander Kuvaev
dd05784327 docs: fixed ClapErrorType docs 2015-09-06 01:12:46 +03:00