Allow clap features to be activated independently (#100)

This commit is contained in:
Clément Renault 2018-04-23 08:50:20 +02:00 committed by Guillaume P
parent ccb04a30cc
commit 4111f9c6f8
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,8 @@
short-circuiting flags. ([#98](https://github.com/TeXitoi/structopt/pull/98) short-circuiting flags. ([#98](https://github.com/TeXitoi/structopt/pull/98)
by [@quodlibetor](https://github.com/quodlibetor)) by [@quodlibetor](https://github.com/quodlibetor))
* Allow users to enable `clap` features independently.
# v0.2.7 (2018-04-12) # v0.2.7 (2018-04-12)
* Add flattening, the insertion of options of another StructOpt struct into another ([#92](https://github.com/TeXitoi/structopt/pull/92)) by [@birkenfeld](https://github.com/birkenfeld) * Add flattening, the insertion of options of another StructOpt struct into another ([#92](https://github.com/TeXitoi/structopt/pull/92)) by [@birkenfeld](https://github.com/birkenfeld)

View file

@ -13,6 +13,14 @@ readme = "README.md"
[features] [features]
default = ["clap/default"] default = ["clap/default"]
nightly = ["structopt-derive/nightly"] nightly = ["structopt-derive/nightly"]
suggestions = ["clap/suggestions"]
color = ["clap/color"]
wrap_help = ["clap/wrap_help"]
yaml = ["clap/yaml"]
lints = ["clap/lints"]
debug = ["clap/debug"]
no_cargo = ["clap/no_cargo"]
doc = ["clap/doc"]
[badges] [badges]
travis-ci = { repository = "TeXitoi/structopt" } travis-ci = { repository = "TeXitoi/structopt" }