pi-hole / api

The Pi-hole API
Other
162 stars 22 forks source link

Bump structopt from 0.2.18 to 0.3.2 #229

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps structopt from 0.2.18 to 0.3.2.

Changelog *Sourced from [structopt's changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md).* > # 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 > type Something = Vec; > > #[derive(StructOpt)] > struct Opt { > #[structopt(long)] > ... (truncated)
Commits - [`80a55c0`](https://github.com/TeXitoi/structopt/commit/80a55c0f35373779634cdb09fe556e19fedb0e77) v0.3.2 - [`5005c47`](https://github.com/TeXitoi/structopt/commit/5005c47d6d73cc6c31b3929c9bbff9e6ee110cad) Support `skip = value` syntax - [`c3c6273`](https://github.com/TeXitoi/structopt/commit/c3c6273bb92f58a774c5ed03d95e4336c740423a) Update version in the documentation - [`fe9e049`](https://github.com/TeXitoi/structopt/commit/fe9e0495966aa9da888499679c81132c996b95c4) Do not mangle `author` string inside `\<...>` - [`52fa726`](https://github.com/TeXitoi/structopt/commit/52fa7262088d14833864351413b413008164b785) Propagate span info from origin code to generated code - [`af8a4b8`](https://github.com/TeXitoi/structopt/commit/af8a4b8ff6cfae07630c7aeeaea5dd6d01105302) Fix nightly tests - [`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)) - Additional commits viewable in [compare view](https://github.com/TeXitoi/structopt/compare/v0.2.18...v0.3.2)


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) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #235.