jonathanmorley / oktaws

Apache License 2.0
15 stars 10 forks source link

Bump structopt-derive from 0.2.12 to 0.3.3 #87

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 5 years ago

Bumps structopt-derive from 0.2.12 to 0.3.3.

Changelog *Sourced from [structopt-derive's changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md).* > # v0.3.3 (2019-10-10) > > * Add `from_flag` custom parser to create flags from non-bool types. > Fixes [#185](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/185) > > # v0.3.2 (2019-09-18) > > * `structopt` does not replace `:` with `, ` inside "author" strings while inside `<...>`. > Fixes [#156](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/156) > * Introduced [`#[structopt(skip = expr)]` syntax](https://docs.rs/structopt/0.3.2/structopt/#skipping-fields). > > # 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 > ... (truncated)
Commits - [`2cb1fbf`](https://github.com/TeXitoi/structopt/commit/2cb1fbf67981950088ce4c1199c020fe52d68eb2) v0.3.3 - [`fd2cc62`](https://github.com/TeXitoi/structopt/commit/fd2cc62b631c2bca290a94f7e62b7bd5082fc229) Add from_flag parser ([#271](https://github-redirect.dependabot.com/TeXitoi/structopt/issues/271)) - [`6a3fc8b`](https://github.com/TeXitoi/structopt/commit/6a3fc8bc79c3eaf97592780662e87a9912a135c7) Run ui tests only on stable - [`8d86616`](https://github.com/TeXitoi/structopt/commit/8d8661695718f652b858879257684e66e9a99826) Fix code formatting - [`cf61ff1`](https://github.com/TeXitoi/structopt/commit/cf61ff1eaf5d9c1ba4efdedcc2dc216a167ebdc9) Fix nightly tests - [`0c888e9`](https://github.com/TeXitoi/structopt/commit/0c888e962d842f2c90c6c290d3a2a40947b37005) Fix clippy warnings - [`1cae9fa`](https://github.com/TeXitoi/structopt/commit/1cae9fab4b558afbd228a20cf702e1966a233d92) Suppress all clippy warnings - [`c228c23`](https://github.com/TeXitoi/structopt/commit/c228c2399b53f2644362273983f22ffc6b535ad6) Fix version in docs (AGAIN) - [`80a55c0`](https://github.com/TeXitoi/structopt/commit/80a55c0f35373779634cdb09fe556e19fedb0e77) v0.3.2 - [`5005c47`](https://github.com/TeXitoi/structopt/commit/5005c47d6d73cc6c31b3929c9bbff9e6ee110cad) Support `skip = value` syntax - Additional commits viewable in [compare view](https://github.com/TeXitoi/structopt/compare/v0.2.12...v0.3.3)


Dependabot compatibility score

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) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #94.