Changelog
*Sourced from [structopt's changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md).*
> # v0.3.1 (2019-09-06)
>
> * Fix error messages ([#241](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/241))
> * Fix "`skip` plus long doc comment" bug ([#245](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/245))
> * Now `structopt` emits dummy `StructOpt` implementation along with an error. It suppresses
> meaningless errors like `from_args method is not found for Opt`
> * `.version()` not get generated if `CARGO_PKG_VERSION` is not set anymore.
>
> # v0.3.0 (2019-08-30)
>
> ## Breaking changes
>
> ### Bump minimum rustc version to 1.36 by [@TeXitoi](https://github.com/TeXitoi)
> Now `rustc` 1.36 is the minimum compiler version supported by `structopt`,
> it likely won't work with older compilers.
>
> ### Remove "nightly" feature
> Once upon a time this feature had been used to enable some of improvements
> in `proc-macro2` crate that were available only on nightly. Nowadays this feature doesn't
> mean anything so it's now removed.
>
> ### Support optional vectors of arguments for distinguishing between `-o 1 2`, `-o` and no option provided at all by [@sphynx](https://github.com/sphynx) ([#180](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/188)).
>
> ```rust
> #[derive(StructOpt)]
> struct Opt {
> #[structopt(long)]
> fruit: Option>,
> }
>
> fn main() {
> assert_eq!(Opt::from_args(&["test"]), None);
> assert_eq!(Opt::from_args(&["test", "--fruit"]), Some(vec![]));
> assert_eq!(Opt::from_args(&["test", "--fruit=apple orange"]), Some(vec!["apple", "orange"]));
> }
> ```
>
> If you need to fall back to the old behavior you can use a type alias:
> ```rust
> type Something = Vec;
>
> #[derive(StructOpt)]
> struct Opt {
> #[structopt(long)]
> fruit: Option,
> }
> ```
>
> ### Change default case from 'Verbatim' into 'Kebab' by [@0ndorio](https://github.com/0ndorio) ([#202](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/202)).
> `structopt` 0.3 uses field renaming to deduce a name for long options and subcommands.
> ... (truncated)
Commits
- [`e0f74b0`](https://github.com/TeXitoi/structopt/commit/e0f74b0f62677367f2789e4ef70bacf7390f5745) v0.3.1
- [`0dda751`](https://github.com/TeXitoi/structopt/commit/0dda751c0863452e26d298445ef35778bda15516) Update and improve docs
- [`c4bc9c2`](https://github.com/TeXitoi/structopt/commit/c4bc9c272089a8d6972e92608c2fde8882986b32) Do not call .verison() when CARGO_PKG_VERSION is not set
- [`353ca5a`](https://github.com/TeXitoi/structopt/commit/353ca5abc880ea139a7fccefcd5561325e6e8232) Fix changelog example ([#250](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/250))
- [`40e9ab4`](https://github.com/TeXitoi/structopt/commit/40e9ab40bbb5b102dbe695f0aab15fa4347b018d) Emit dummy impls on error ([#248](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/248))
- [`14937e8`](https://github.com/TeXitoi/structopt/commit/14937e8b8961bf08cc1732f4eb9bcda111a5f58b) Fix [#245](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/245) ([#246](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/246))
- [`af85383`](https://github.com/TeXitoi/structopt/commit/af853831587007c88f988bdcec1d776d7c0fb807) Fix error messages ([#244](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/244))
- [`c72ad2f`](https://github.com/TeXitoi/structopt/commit/c72ad2f2a40f319b08b2c90c320a749d91a72b48) Fix structopt-derive permissions ([#239](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/239))
- [`1fff5da`](https://github.com/TeXitoi/structopt/commit/1fff5da31cb8987cc9323406dc7426a0ee6d3d27) Update README.md
- [`673dbcc`](https://github.com/TeXitoi/structopt/commit/673dbcc910c00d5e70cd73dc650d457e2bd74c0e) Bump minimum rustc version to 1.36
- Additional commits viewable in [compare view](https://github.com/TeXitoi/structopt/compare/v0.2.12...v0.3.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps structopt from 0.2.12 to 0.3.1.
Changelog
*Sourced from [structopt's changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md).* > # v0.3.1 (2019-09-06) > > * Fix error messages ([#241](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/241)) > * Fix "`skip` plus long doc comment" bug ([#245](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/245)) > * Now `structopt` emits dummy `StructOpt` implementation along with an error. It suppresses > meaningless errors like `from_args method is not found for Opt` > * `.version()` not get generated if `CARGO_PKG_VERSION` is not set anymore. > > # v0.3.0 (2019-08-30) > > ## Breaking changes > > ### Bump minimum rustc version to 1.36 by [@TeXitoi](https://github.com/TeXitoi) > Now `rustc` 1.36 is the minimum compiler version supported by `structopt`, > it likely won't work with older compilers. > > ### Remove "nightly" feature > Once upon a time this feature had been used to enable some of improvements > in `proc-macro2` crate that were available only on nightly. Nowadays this feature doesn't > mean anything so it's now removed. > > ### Support optional vectors of arguments for distinguishing between `-o 1 2`, `-o` and no option provided at all by [@sphynx](https://github.com/sphynx) ([#180](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/188)). > > ```rust > #[derive(StructOpt)] > struct Opt { > #[structopt(long)] > fruit: OptionCommits
- [`e0f74b0`](https://github.com/TeXitoi/structopt/commit/e0f74b0f62677367f2789e4ef70bacf7390f5745) v0.3.1 - [`0dda751`](https://github.com/TeXitoi/structopt/commit/0dda751c0863452e26d298445ef35778bda15516) Update and improve docs - [`c4bc9c2`](https://github.com/TeXitoi/structopt/commit/c4bc9c272089a8d6972e92608c2fde8882986b32) Do not call .verison() when CARGO_PKG_VERSION is not set - [`353ca5a`](https://github.com/TeXitoi/structopt/commit/353ca5abc880ea139a7fccefcd5561325e6e8232) Fix changelog example ([#250](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/250)) - [`40e9ab4`](https://github.com/TeXitoi/structopt/commit/40e9ab40bbb5b102dbe695f0aab15fa4347b018d) Emit dummy impls on error ([#248](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/248)) - [`14937e8`](https://github.com/TeXitoi/structopt/commit/14937e8b8961bf08cc1732f4eb9bcda111a5f58b) Fix [#245](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/245) ([#246](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/246)) - [`af85383`](https://github.com/TeXitoi/structopt/commit/af853831587007c88f988bdcec1d776d7c0fb807) Fix error messages ([#244](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/244)) - [`c72ad2f`](https://github.com/TeXitoi/structopt/commit/c72ad2f2a40f319b08b2c90c320a749d91a72b48) Fix structopt-derive permissions ([#239](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/239)) - [`1fff5da`](https://github.com/TeXitoi/structopt/commit/1fff5da31cb8987cc9323406dc7426a0ee6d3d27) Update README.md - [`673dbcc`](https://github.com/TeXitoi/structopt/commit/673dbcc910c00d5e70cd73dc650d457e2bd74c0e) Bump minimum rustc version to 1.36 - Additional commits viewable in [compare view](https://github.com/TeXitoi/structopt/compare/v0.2.12...v0.3.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.