Commit Graph

2409 Commits

Author SHA1 Message Date
dependabot[bot]
0d31c55fb3
build(deps): bump tracing from 0.1.35 to 0.1.36
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 13:56:17 +00:00
bors[bot]
20ff6ade9b
Merge #1071 #1083
1071: Bump pem from 1.0.2 to 1.1.0 r=delta1 a=dependabot[bot]

Bumps [pem](https://github.com/jcreekmore/pem-rs) from 1.0.2 to 1.1.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="2d83242a3e"><code>2d83242</code></a> (cargo-release) version 1.1.0</li>
<li><a href="0b37bd8925"><code>0b37bd8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jcreekmore/pem-rs/issues/34">#34</a> from tmpfs/serde-feature</li>
<li><a href="6381ef4f29"><code>6381ef4</code></a> Update docs.</li>
<li><a href="1f22b5fd0a"><code>1f22b5f</code></a> Update serde implementation to use encode()/parse().</li>
<li><a href="79cf854fca"><code>79cf854</code></a> Support optional serde feature.</li>
<li><a href="2ebf2b1857"><code>2ebf2b1</code></a> (cargo-release) start next development iteration 1.0.3-alpha.0</li>
<li>See full diff in <a href="https://github.com/jcreekmore/pem-rs/compare/v1.0.2...v1.1.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pem&package-manager=cargo&previous-version=1.0.2&new-version=1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

1083: build(deps): bump async-trait from 0.1.56 to 0.1.57 r=delta1 a=dependabot[bot]

Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/async-trait/releases">async-trait's releases</a>.</em></p>
<blockquote>
<h2>0.1.57</h2>
<ul>
<li>Add categories to crates.io metadata</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7aa083ce02"><code>7aa083c</code></a> Release 0.1.57</li>
<li><a href="4124033b58"><code>4124033</code></a> Revert &quot;Temporarily disable clippy on tests due to ICE&quot;</li>
<li><a href="81704b37d0"><code>81704b3</code></a> Add categories to crates.io metadata</li>
<li><a href="f997ace3e9"><code>f997ace</code></a> Sort package entries in Cargo.toml</li>
<li><a href="a386446d3d"><code>a386446</code></a> Avoid cargo 1.43–1.45 in GitHub Actions</li>
<li><a href="2cc3532baf"><code>2cc3532</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/async-trait/issues/209">#209</a> from dtolnay/ice</li>
<li><a href="f1d674605b"><code>f1d6746</code></a> Temporarily disable clippy on tests due to ICE</li>
<li><a href="c93e97c451"><code>c93e97c</code></a> Ignore explicit_auto_deref clippy lint</li>
<li><a href="408e77f5d4"><code>408e77f</code></a> Update ui test suite to nightly-2022-07-02</li>
<li><a href="d0a7da03f5"><code>d0a7da0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/async-trait/issues/208">#208</a> from dtolnay/oncecell</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async-trait&package-manager=cargo&previous-version=0.1.56&new-version=0.1.57)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 13:28:43 +00:00
Byron Hambly
7838442947
fix: review comments from binarybaron 2022-08-04 15:01:22 +02:00
Byron Hambly
dc68344b62
chore: formatting in select! macro 2022-08-04 14:29:23 +02:00
Byron Hambly
ec169916d6
Merge branch 'master' into libp2p_upgrade 2022-08-03 22:07:24 +02:00
bors[bot]
a9d9250af1
Merge #1088
1088: feat: add debugging info for failed to fetch transaction r=delta1 a=delta1

Add the jsonrpc error message and data to tracing calls to try debug #1061 "monero-wallet-rpc failed to fetch transaction"

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-08-03 13:10:10 +00:00
Byron Hambly
7e4af68cba
feat: add debugging info for failed to fetch transaction
Add the jsonrpc error message and data to tracing calls to try debug #1061
"monero-wallet-rpc failed to fetch transaction"
2022-08-03 14:07:16 +02:00
bors[bot]
cb7a7f58b2
Merge #1086
1086: fix btc for xmr calculation error r=delta1 a=delta1

The calculation overflow fix in #1068 did not account for XMR < 1 which
resulted in truncation when dividing by the PICO_OFFSET.

This commit uses `Decimal` to do the calculation at fixed precision and
adds a number of test values to verify the calculation.

Closes #1084

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-08-03 11:57:08 +00:00
bors[bot]
b7e2e0805e
Merge #1080
1080: feat(swap): show minimum deposit required for min_quantity + fee  r=delta1 a=delta1

Updates swap cli to calculate and show the minimum BTC deposit required to cover the minimum_quantity + fee for a seller #761

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-08-03 11:17:41 +00:00
Byron Hambly
86d57453cf
fix: fix btc for xmr calculation error
The calculation overflow fix in #1068 did not account for XMR < 1 which
resulted in truncation when dividing by the PICO_OFFSET.

This commit uses `Decimal` to do the calculation at fixed precision and
adds a number of test values to verify the calculation.

Closes #1084
2022-08-03 12:30:51 +02:00
dependabot[bot]
6a7686768f
build(deps): bump async-trait from 0.1.56 to 0.1.57
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 11:16:01 +00:00
Byron Hambly
dc706c584a
feat(swap): show min deposit required for min_quantity 2022-08-01 10:28:38 +02:00
bors[bot]
293cbb68d6
Merge #1078
1078: build(deps): bump dialoguer from 0.10.1 to 0.10.2 r=delta1 a=dependabot[bot]

Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.1 to 0.10.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md">dialoguer's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="091bc92a74"><code>091bc92</code></a> Release 0.10.2</li>
<li><a href="6a8c08ca2e"><code>6a8c08c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mitsuhiko/dialoguer/issues/203">#203</a> from kianmeng/fix-typos</li>
<li><a href="186d6585e7"><code>186d658</code></a> Fix typos</li>
<li><a href="2fd4001874"><code>2fd4001</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mitsuhiko/dialoguer/issues/196">#196</a> from deg0nz/fix-fuzzy-clear-on-cancel</li>
<li><a href="fa4c119393"><code>fa4c119</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mitsuhiko/dialoguer/issues/199">#199</a> from deg0nz/fix-fuzzy-select-active-item-colors</li>
<li><a href="5a7c2b00ca"><code>5a7c2b0</code></a> fmt</li>
<li><a href="affa466896"><code>affa466</code></a> Remove unused comment</li>
<li><a href="c891ca1e67"><code>c891ca1</code></a> Apply active style to active item</li>
<li><a href="4a2830137f"><code>4a28301</code></a> Fuzzy: Clear everything on cancel via escape key</li>
<li>See full diff in <a href="https://github.com/mitsuhiko/dialoguer/compare/v0.10.1...v0.10.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dialoguer&package-manager=cargo&previous-version=0.10.1&new-version=0.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:39:41 +00:00
dependabot[bot]
db507a79db
build(deps): bump dialoguer from 0.10.1 to 0.10.2
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases)
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.1...v0.10.2)

---
updated-dependencies:
- dependency-name: dialoguer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 11:09:41 +00:00
bors[bot]
ae5800d47f
Merge #1068
1068: fix potential overflow in `max_bitcoin_for_price` r=delta1 a=delta1

In testing, ASB panicked in `max_bitcoin_for_price` when the Monero balance x Bitcoin price was enough to overflow `u64`.

This PR changes the function to do the piconero offset division first, and then to use `checked_mul` to return None if the calculation would overflow. This required changing the function return signature to an `Option`. Additional tests for the function were also added.

MONERO_FEE was also changed from 0.000030 to 0.000016, which is still double the current median transaction fee listed at
https://www.monero.how/monero-transaction-fees as of 2022-07-28.

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-07-29 09:05:56 +00:00
bors[bot]
ec121dc3c6
Merge #1075
1075: Bump anyhow from 1.0.57 to 1.0.58 r=delta1 a=dependabot[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.58</h2>
<ul>
<li>Fix some broken links in documentation</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8f950ac0d6"><code>8f950ac</code></a> Release 1.0.58</li>
<li><a href="bf23b3b685"><code>bf23b3b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/242">#242</a> from MedzikUser/master</li>
<li><a href="d8c2388c65"><code>d8c2388</code></a> Use upstreamed docs.rs icon in docs.rs badge</li>
<li><a href="db82639510"><code>db82639</code></a> Fix broken doc links to anyhow macro</li>
<li><a href="462212b707"><code>462212b</code></a> Update docs.rs badge</li>
<li><a href="ff37db348d"><code>ff37db3</code></a> Check all crates in workspace for outdated deps</li>
<li><a href="302acadce0"><code>302acad</code></a> Match components in CI to rust-toolchain.toml file</li>
<li><a href="26023f77a8"><code>26023f7</code></a> Run miri in stricter miri-strict-provenance mode</li>
<li><a href="f45065787a"><code>f450657</code></a> Drop unneeded quoting from env variable in workflows yaml</li>
<li><a href="09e4db31da"><code>09e4db3</code></a> Update workflows to actions/checkout@v3</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.57&new-version=1.0.58)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 18:35:51 +00:00
bors[bot]
8ceffe4cec
Merge #1074
1074: Bump strum from 0.24.0 to 0.24.1 r=delta1 a=dependabot[bot]

Bumps [strum](https://github.com/Peternator7/strum) from 0.24.0 to 0.24.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p>
<blockquote>
<h2><del>0.24.1</del> (Yanked becase <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/217">#217</a> was more &quot;breaking&quot; than I wanted)</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/220">#220</a>. Add support for PHF in <code>EnumString</code> (opt-in runtime
performance improvements for large enums as <code>#[strum(use_phf)]</code>, requires <code>phf</code> feature and increases MSRV to <code>1.46</code>)
<ul>
<li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/224">#224</a> tweaked the algorithm.</li>
</ul>
</li>
<li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/217">#217</a>: Automatically implement <code>TryFrom</code> in <code>FromRepr</code>. This is
technically a breaking change, but the fix is to just remove the manual implementation of TryFrom so it shouldn't
be more than a minor inconvenience.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/Peternator7/strum/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.24.0&new-version=0.24.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 18:07:30 +00:00
dependabot[bot]
60a11fe34b
Bump anyhow from 1.0.57 to 1.0.58
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 17:53:14 +00:00
dependabot[bot]
71bc2cad39
Bump strum from 0.24.0 to 0.24.1
Bumps [strum](https://github.com/Peternator7/strum) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 17:28:16 +00:00
bors[bot]
cede99a579
Merge #1073
1073: Bump serde_with from 1.13.0 to 1.14.0 r=delta1 a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.13.0 to 1.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p>
<blockquote>
<h2>serde_with v1.14.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add support for <code>time</code> crate v0.3 <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/450">#450</a></p>
<p><code>time::Duration</code> can now be serialized with the <code>DurationSeconds</code> and related converters.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;serde_with::DurationSeconds&lt;u64&gt;&quot;)]
value: Duration,
<p>// JSON
&quot;value&quot;: 86400,
</code></pre></p>
<p><code>time::OffsetDateTime</code> and <code>time::PrimitiveDateTime</code> can now be serialized with the <code>TimestampSeconds</code> and related converters.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;serde_with::TimestampMicroSecondsWithFrac&lt;String&gt;&quot;)]
value: time::PrimitiveDateTime,
<p>// JSON
&quot;value&quot;: &quot;1000000&quot;,
</code></pre></p>
<p><code>time::OffsetDateTime</code> can be serialized in string format in different well-known formats.
Two formats are supported, <code>time::format_description::well_known::Rfc2822</code> and <code>time::format_description::well_known::Rfc3339</code>.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;time::format_description::well_known::Rfc2822&quot;)]
rfc_2822: OffsetDateTime,
#[serde_as(as = &quot;Vec&lt;time::format_description::well_known::Rfc3339&gt;&quot;)]
rfc_3339: Vec&lt;OffsetDateTime&gt;,
<p>// JSON
&quot;rfc_2822&quot;: &quot;Fri, 21 Nov 1997 09:55:06 -0600&quot;,
&quot;rfc_3339&quot;: [&quot;1997-11-21T09:55:06-06:00&quot;],
</code></pre></p>
</li>
<li>
<p>Deserialize <code>bool</code> from integers <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/456">#456</a> 462</p>
<p>Deserialize an integer and convert it into a <code>bool</code>.
<code>BoolFromInt&lt;Strict&gt;</code> (default) deserializes 0 to <code>false</code> and <code>1</code> to <code>true</code>, other numbers are errors.
<code>BoolFromInt&lt;Flexible&gt;</code> deserializes any non-zero as <code>true</code>.
Serialization only emits 0/1.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8c59954436"><code>8c59954</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/463">#463</a></li>
<li><a href="8773ac1f5a"><code>8773ac1</code></a> Bump serde_with version to 1.14.0</li>
<li><a href="9351c4c4e7"><code>9351c4c</code></a> Bump rmp-serde version since the MSRV is now suitably high</li>
<li><a href="5e63b1f280"><code>5e63b1f</code></a> Fix doc links to alloc items</li>
<li><a href="d3140e1438"><code>d3140e1</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/462">#462</a></li>
<li><a href="82bd5b860e"><code>82bd5b8</code></a> Add Changelog and guide entry</li>
<li><a href="299a2ba0c9"><code>299a2ba</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/461">#461</a></li>
<li><a href="1e9c5b9303"><code>1e9c5b9</code></a> Bump ossf/scorecard-action from 1.0.4 to 1.1.0</li>
<li><a href="34fbc974bd"><code>34fbc97</code></a> Add BoolFromInt adapter</li>
<li><a href="b3d4156100"><code>b3d4156</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/457">#457</a></li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.13.0...v1.14.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=1.13.0&new-version=1.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 17:27:27 +00:00
bors[bot]
1474b44276
Merge #1072
1072: Bump uuid from 1.0.0 to 1.1.2 r=delta1 a=dependabot[bot]

Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.0.0 to 1.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uuid-rs/uuid/releases">uuid's releases</a>.</em></p>
<blockquote>
<h2>1.1.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix some doc links by <a href="https://github.com/mbrobbel"><code>`@​mbrobbel</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/606">uuid-rs/uuid#606</a></li>
<li>Prepare for 1.1.2 release by <a href="https://github.com/KodrAus"><code>`@​KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/607">uuid-rs/uuid#607</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mbrobbel"><code>`@​mbrobbel</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/606">uuid-rs/uuid#606</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.1.1...1.1.2">https://github.com/uuid-rs/uuid/compare/1.1.1...1.1.2</a></p>
<h2>1.1.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix documentation typo by <a href="https://github.com/nstinus"><code>`@​nstinus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/603">uuid-rs/uuid#603</a></li>
<li>Prepare for 1.1.1 release by <a href="https://github.com/KodrAus"><code>`@​KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/604">uuid-rs/uuid#604</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/nstinus"><code>`@​nstinus</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/603">uuid-rs/uuid#603</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.1.0...1.1.1">https://github.com/uuid-rs/uuid/compare/1.1.0...1.1.1</a></p>
<h2>1.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>note that the Error display impl is public API by <a href="https://github.com/KodrAus"><code>`@​KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/597">uuid-rs/uuid#597</a></li>
<li>Fixed documentation link by <a href="https://github.com/Razican"><code>`@​Razican</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/600">uuid-rs/uuid#600</a></li>
<li>Add to_bytes_le method by <a href="https://github.com/dfaust"><code>`@​dfaust</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/599">uuid-rs/uuid#599</a></li>
<li>Prepare for 1.1.0 release by <a href="https://github.com/KodrAus"><code>`@​KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/602">uuid-rs/uuid#602</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Razican"><code>`@​Razican</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/600">uuid-rs/uuid#600</a></li>
<li><a href="https://github.com/dfaust"><code>`@​dfaust</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/599">uuid-rs/uuid#599</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.0">https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7188b00a9e"><code>7188b00</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/issues/607">#607</a> from uuid-rs/cargo/1.1.2</li>
<li><a href="29420b6152"><code>29420b6</code></a> prepare for 1.1.2 release</li>
<li><a href="c285879dc2"><code>c285879</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/issues/606">#606</a> from mbrobbel/docs</li>
<li><a href="07b30d5f1d"><code>07b30d5</code></a> Fix some doc links</li>
<li><a href="875c2d7879"><code>875c2d7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/issues/604">#604</a> from uuid-rs/cargo/1.1.1</li>
<li><a href="ddf6db4034"><code>ddf6db4</code></a> prepare for 1.1.1 release</li>
<li><a href="ba27437d6e"><code>ba27437</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/issues/603">#603</a> from nstinus/main</li>
<li><a href="ad9c3561f2"><code>ad9c356</code></a> Fix documentation typo</li>
<li><a href="99977bb955"><code>99977bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/issues/602">#602</a> from uuid-rs/cargo/1.1.0</li>
<li><a href="e7b58f432b"><code>e7b58f4</code></a> prepare for 1.1.0 release</li>
<li>Additional commits viewable in <a href="https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uuid&package-manager=cargo&previous-version=1.0.0&new-version=1.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 17:14:25 +00:00
dependabot[bot]
182e553c48
Bump serde_with from 1.13.0 to 1.14.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 16:30:59 +00:00
dependabot[bot]
ce1ab192ac
Bump uuid from 1.0.0 to 1.1.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.0.0 to 1.1.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 16:03:36 +00:00
bors[bot]
eda1a17e75
Merge #1070
1070: Bump tokio-util from 0.7.1 to 0.7.2 r=delta1 a=dependabot[bot]

Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.1 to 0.7.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="038de36132"><code>038de36</code></a> chore: prepare tokio-util 0.7.2 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4690">#4690</a>)</li>
<li><a href="42d5a9fcd4"><code>42d5a9f</code></a> Merge 'tokio-util-0.6.x' into 'tokio-util-0.7.x'</li>
<li><a href="cdb132d333"><code>cdb132d</code></a> Revert &quot;chore: disable warnings in old CI (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4691">#4691</a>)&quot;</li>
<li><a href="2659adf5fe"><code>2659adf</code></a> chore: prepare tokio-util 0.6.10 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4691">#4691</a>)</li>
<li><a href="0105d9971f"><code>0105d99</code></a> sync: rewrite <code>CancellationToken</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4652">#4652</a>)</li>
<li><a href="b24df49a9d"><code>b24df49</code></a> chore: disable warnings in old CI (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4691">#4691</a>)</li>
<li><a href="cf94ffc6fd"><code>cf94ffc</code></a> windows: add features for winapi (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4663">#4663</a>)</li>
<li>See full diff in <a href="https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.1...tokio-util-0.7.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio-util&package-manager=cargo&previous-version=0.7.1&new-version=0.7.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 16:02:42 +00:00
bors[bot]
9952849f53
Merge #1069
1069: Bump dialoguer from 0.10.0 to 0.10.1 r=delta1 a=dependabot[bot]

Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.0 to 0.10.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md">dialoguer's changelog</a>.</em></p>
<blockquote>
<h2>0.10.1</h2>
<h3>Enhancements</h3>
<ul>
<li>Allow matches highlighting for <code>FuzzySelect</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3f16bdedf8"><code>3f16bde</code></a> Release 0.10.1</li>
<li><a href="f7d02321f5"><code>f7d0232</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mitsuhiko/dialoguer/issues/182">#182</a> from abreis/docs-all-features</li>
<li><a href="7ff96f582e"><code>7ff96f5</code></a> Tell docs.rs to document all features</li>
<li><a href="4f8ffda50b"><code>4f8ffda</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mitsuhiko/dialoguer/issues/179">#179</a> from deg0nz/highlight-fuzzy-indices</li>
<li><a href="f4c434a803"><code>f4c434a</code></a> Add Fuzzy Select match highlighting</li>
<li><a href="2d47e30b9a"><code>2d47e30</code></a> Some cleanup</li>
<li>See full diff in <a href="https://github.com/mitsuhiko/dialoguer/compare/v0.10.0...v0.10.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dialoguer&package-manager=cargo&previous-version=0.10.0&new-version=0.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 15:35:22 +00:00
dependabot[bot]
723655701f
Bump pem from 1.0.2 to 1.1.0
Bumps [pem](https://github.com/jcreekmore/pem-rs) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/jcreekmore/pem-rs/releases)
- [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jcreekmore/pem-rs/compare/v1.0.2...v1.1.0)

---
updated-dependencies:
- dependency-name: pem
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 13:33:27 +00:00
dependabot[bot]
6234675707
Bump tokio-util from 0.7.1 to 0.7.2
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.1...tokio-util-0.7.2)

---
updated-dependencies:
- dependency-name: tokio-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 13:33:20 +00:00
dependabot[bot]
6d7c787197
Bump dialoguer from 0.10.0 to 0.10.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases)
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: dialoguer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 13:33:08 +00:00
bors[bot]
ffb9693f4c
Merge #1056 #1066 #1067
1056: Bump time from 0.3.9 to 0.3.11 r=delta1 a=dependabot[bot]

Bumps [time](https://github.com/time-rs/time) from 0.3.9 to 0.3.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/time-rs/time/releases">time's releases</a>.</em></p>
<blockquote>
<h2>v0.3.11</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.10</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p>
<blockquote>
<h2>0.3.11 [2022-06-21]</h2>
<h3>Fixed</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">#479</a>: regression when parsing optional values with <code>serde</code></li>
<li><a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">#481</a>: <code>Time</code> subtracted from <code>Time</code> can panic. This was caused by a bug that has always existed,
in that an internal invariant was not upheld. Memory safety was not violated.</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">#479</a>: <a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">time-rs/time#479</a>
<a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">#481</a>: <a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">time-rs/time#481</a></p>
<h2>0.3.10 [2022-06-19]</h2>
<h3>Added</h3>
<ul>
<li>Serde support for non-self-describing formats</li>
<li><code>Duration::unsigned_abs</code>, which returns a <code>std::time::Duration</code></li>
<li>ISO 8601 well-known format</li>
<li><code>Duration</code> can now be formatted with a <code>.N</code> specifier, providing a shorter representation when
using <code>Display</code>.</li>
<li>Parse <code>null</code> as <code>None</code> on serde structs</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix incorrect parsing of UTC offset in <code>Rfc3339</code>.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The minimum supported Rust version is now 1.57.0.</li>
<li>Performance for <code>Rfc2822</code> has been improved.</li>
<li>Debug assertions have been added in a few places. This should have no user facing impact, as it
only serves to catch bugs and is disabled in release mode.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="02a9d7ae63"><code>02a9d7a</code></a> Update changelog, v0.3.11 release</li>
<li><a href="80456cde85"><code>80456cd</code></a> Remove some debug assertions, use <code>Duration::new</code></li>
<li><a href="1e36fe2821"><code>1e36fe2</code></a> Revert change accepting some serde formats</li>
<li><a href="8b42f24fd6"><code>8b42f24</code></a> Update changelog, create release</li>
<li><a href="33bfe5cfe3"><code>33bfe5c</code></a> Add note about <code>#[serde(default)]</code>, quiet clippy</li>
<li><a href="b599d6634c"><code>b599d66</code></a> Parse nulls as None on nested serde structs (<a href="https://github-redirect.dependabot.com/time-rs/time/issues/473">#473</a>)</li>
<li><a href="e893d31f9b"><code>e893d31</code></a> Avoid unnecessary call to <code>format!</code></li>
<li><a href="eafddc56a8"><code>eafddc5</code></a> Fix RFC3339 offset parsing (<a href="https://github-redirect.dependabot.com/time-rs/time/issues/478">#478</a>)</li>
<li><a href="9a3f9856aa"><code>9a3f985</code></a> Run UI tests separately for coverage</li>
<li><a href="21b439f474"><code>21b439f</code></a> Add debug assertions</li>
<li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.3.9...v0.3.11">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=time&package-manager=cargo&previous-version=0.3.9&new-version=0.3.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

1066: Bump async-compression from 0.3.12 to 0.3.14 r=delta1 a=dependabot[bot]

Bumps [async-compression](https://github.com/Nemo157/async-compression) from 0.3.12 to 0.3.14.
<details>
<summary>Commits</summary>
<ul>
<li><a href="ada65c660b"><code>ada65c6</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/149">#149</a></li>
<li><a href="149c9f8648"><code>149c9f8</code></a> Bump version to 0.3.14</li>
<li><a href="286ff05053"><code>286ff05</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/148">#148</a></li>
<li><a href="e724673876"><code>e724673</code></a> Don't reinitialize on reader EOF for other implementations</li>
<li><a href="701a3a3451"><code>701a3a3</code></a> Add assertion that we do not read past EOF</li>
<li><a href="eb1d0cc2d3"><code>eb1d0cc</code></a> bufread::generic::Decoder: don't reinitialize on reader EOF</li>
<li><a href="6104f83f21"><code>6104f83</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/147">#147</a></li>
<li><a href="cf23c9b4d2"><code>cf23c9b</code></a> Migrate from cargo audit to cargo deny</li>
<li><a href="63ea354f9c"><code>63ea354</code></a> Add cargo-deny config</li>
<li><a href="33f0b716a9"><code>33f0b71</code></a> Remove unused futures-codec dependency</li>
<li>Additional commits viewable in <a href="https://github.com/Nemo157/async-compression/compare/0.3.12...0.3.14">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async-compression&package-manager=cargo&previous-version=0.3.12&new-version=0.3.14)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

1067: Bump hyper from 0.14.18 to 0.14.20 r=delta1 a=dependabot[bot]

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.18 to 0.14.20.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p>
<blockquote>
<h2>v0.14.20</h2>
<h2>Bug Fixes</h2>
<ul>
<li><strong>http1:</strong> fix <code>http1_header_read_timeout</code> to use same future (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2891">#2891</a>) (<a href="c5a14e7c08">c5a14e7c</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>ext:</strong> support non-canonical HTTP/1 reason phrases (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2792">#2792</a>) (<a href="b2052a433f">b2052a43</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/kianmeng"><code>`@​kianmeng</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2876">hyperium/hyper#2876</a></li>
<li><a href="https://github.com/Ticsmtc"><code>`@​Ticsmtc</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2889">hyperium/hyper#2889</a></li>
</ul>
<h2>v0.14.19</h2>
<h2>Bug Fixes</h2>
<ul>
<li><strong>http1:</strong> fix preserving header case without enabling ffi (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2820">#2820</a>) (<a href="6a35c175f2">6a35c175</a>)</li>
<li><strong>server:</strong> don't add implicit content-length to HEAD responses (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2836">#2836</a>) (<a href="67b73138f1">67b73138</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>server:</strong>
<ul>
<li>add <code>Connection::http2_max_header_list_size</code> option (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2828">#2828</a>) (<a href="a32658c1ae">a32658c1</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2826">#2826</a>)</li>
<li>add <code>AddrStream::local_addr()</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2816">#2816</a>) (<a href="ffbf610b16">ffbf610b</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2773">#2773</a>)</li>
</ul>
</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li><strong>ffi (unstable):</strong>
<ul>
<li><code>hyper_clientconn_options_new</code> no longer sets the <code>http1_preserve_header_case</code> connection option by default.
Users should now call <code>hyper_clientconn_options_set_preserve_header_case</code> if they desire that functionality. (<a href="78de8914ea">78de8914</a>)</li>
</ul>
</li>
</ul>
<h2>New Contributors ❤️</h2>
<ul>
<li><a href="https://github.com/SabrinaJewson"><code>`@​SabrinaJewson</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2775">hyperium/hyper#2775</a></li>
<li><a href="https://github.com/Some-Dood"><code>`@​Some-Dood</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2812">hyperium/hyper#2812</a></li>
<li><a href="https://github.com/liamwarfield"><code>`@​liamwarfield</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2798">hyperium/hyper#2798</a></li>
<li><a href="https://github.com/cuishuang"><code>`@​cuishuang</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2818">hyperium/hyper#2818</a></li>
<li><a href="https://github.com/jannes"><code>`@​jannes</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2836">hyperium/hyper#2836</a></li>
<li><a href="https://github.com/silence-coding"><code>`@​silence-coding</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2828">hyperium/hyper#2828</a></li>
<li><a href="https://github.com/nylonicious"><code>`@​nylonicious</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2762">hyperium/hyper#2762</a></li>
<li><a href="https://github.com/ryanrussell"><code>`@​ryanrussell</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2875">hyperium/hyper#2875</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md">hyper's changelog</a>.</em></p>
<blockquote>
<h3>v0.14.20 (2022-07-07)</h3>
<h4>Bug Fixes</h4>
<ul>
<li><strong>http1:</strong> fix <code>http1_header_read_timeout</code> to use same future (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2891">#2891</a>) (<a href="c5a14e7c08">c5a14e7c</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>ext:</strong> support non-canonical HTTP/1 reason phrases (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2792">#2792</a>) (<a href="b2052a433f">b2052a43</a>)</li>
</ul>
<h3>v0.14.19 (2022-05-27)</h3>
<h4>Bug Fixes</h4>
<ul>
<li><strong>http1:</strong> fix preserving header case without enabling ffi (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2820">#2820</a>) (<a href="6a35c175f2">6a35c175</a>)</li>
<li><strong>server:</strong> don't add implicit content-length to HEAD responses (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2836">#2836</a>) (<a href="67b73138f1">67b73138</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>server:</strong>
<ul>
<li>add <code>Connection::http2_max_header_list_size</code> option (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2828">#2828</a>) (<a href="a32658c1ae">a32658c1</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2826">#2826</a>)</li>
<li>add <code>AddrStream::local_addr()</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2816">#2816</a>) (<a href="ffbf610b16">ffbf610b</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2773">#2773</a>)</li>
</ul>
</li>
</ul>
<h4>Breaking Changes</h4>
<ul>
<li><strong>ffi (unstable):</strong>
<ul>
<li><code>hyper_clientconn_options_new</code> no longer sets the <code>http1_preserve_header_case</code> connection option by default.
Users should now call <code>hyper_clientconn_options_set_preserve_header_case</code> if they desire that functionality. (<a href="78de8914ea">78de8914</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0ff6213be2"><code>0ff6213</code></a> v0.14.20</li>
<li><a href="128bc7f148"><code>128bc7f</code></a> chore(lib): bump MSRV to 1.56 (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2902">#2902</a>)</li>
<li><a href="c5a14e7c08"><code>c5a14e7</code></a> fix(http1): fix <code>http1_header_read_timeout</code> to use same future (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2891">#2891</a>)</li>
<li><a href="b2052a433f"><code>b2052a4</code></a> feat(ext): support non-canonical HTTP/1 reason phrases (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2792">#2792</a>)</li>
<li><a href="f12d4d4aa8"><code>f12d4d4</code></a> refactor(lib): resolve unused import (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2889">#2889</a>)</li>
<li><a href="4545c3ef19"><code>4545c3e</code></a> docs(proto): fix typos (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2876">#2876</a>)</li>
<li><a href="f8e2a83194"><code>f8e2a83</code></a> v0.14.19</li>
<li><a href="a929df843e"><code>a929df8</code></a> docs(various): fix typos in VISION and ROADMAP (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2875">#2875</a>)</li>
<li><a href="3a755a632d"><code>3a755a6</code></a> chore(lib): update <code>tokio-util</code> to <code>0.7</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2762">#2762</a>)</li>
<li><a href="4678be9e81"><code>4678be9</code></a> docs(contrib): add guide for Triaging Issues</li>
<li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.20">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hyper&package-manager=cargo&previous-version=0.14.18&new-version=0.14.20)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 13:08:00 +00:00
Byron Hambly
39e34a608b
fix: fix potential overflow in max_bitcoin_for_price
In testing, ASB panicked in `max_bitcoin_for_price` when the Monero
balance x Bitcoin price was enough to overflow `u64`.

This commit changes the function to do the piconero offset division
first, and then to use `checked_mul` to return None if the calculation
would overflow. This required changing the function return
signature to an `Option`. Additional tests for the function were also added.

MONERO_FEE was changed from 0.000030 to 0.000016, which is still
double the current median transaction fee listed at
https://www.monero.how/monero-transaction-fees as of 2022-07-28.
2022-07-28 15:03:32 +02:00
dependabot[bot]
61f9f8a02c
Bump hyper from 0.14.18 to 0.14.20
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.18 to 0.14.20.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.20)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 11:59:44 +00:00
dependabot[bot]
8e7bd85f31
Bump async-compression from 0.3.12 to 0.3.14
Bumps [async-compression](https://github.com/Nemo157/async-compression) from 0.3.12 to 0.3.14.
- [Release notes](https://github.com/Nemo157/async-compression/releases)
- [Commits](https://github.com/Nemo157/async-compression/compare/0.3.12...0.3.14)

---
updated-dependencies:
- dependency-name: async-compression
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 11:59:28 +00:00
bors[bot]
d5bb1e9c08
Merge #1057 #1058
1057: Bump rust_decimal_macros from 1.23.1 to 1.25.0 r=delta1 a=dependabot[bot]

Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.23.1 to 1.25.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md">rust_decimal_macros's changelog</a>.</em></p>
<blockquote>
<h2>1.25.0</h2>
<h3>Added</h3>
<ul>
<li>Expands <code>rand</code> support to implement <code>SampleUniform</code> to allow for <code>rng.gen_range</code> calls (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/519">#519</a>)</li>
<li>Adds <a href="https://github.com/rkyv/rkyv"><code>rkyv</code> framework</a> support for zero-cost (de)serialization (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/520">#520</a>)</li>
</ul>
<p>A big thank you to <a href="https://github.com/lukesneeringer"><code>`@​lukesneeringer</code></a>` and <a href="https://github.com/dovahcrow"><code>`@​dovahcrow</code></a>` for your help building
features for this release.</p>
<h2>1.24.0</h2>
<ul>
<li>Introduces new feature <code>rand</code> which allows for random number generation within <code>rust_decimal</code> (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/517">#517</a>).</li>
<li>Upgrade to Rust 2021 and remove unnecessary dependencies to improve build speed (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/513">#513</a>, <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/516">#516</a>)</li>
<li>Some test scoping improvements to ensure we capture as many test combinations as possible (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/503">#503</a>, <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/504">#504</a>).</li>
</ul>
<p>A big thank you to <a href="https://github.com/c410-f3r"><code>`@​c410-f3r</code></a>` for their contributions to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4b7cdd90b0"><code>4b7cdd9</code></a> Version 1.25 (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/522">#522</a>)</li>
<li><a href="7508015fc8"><code>7508015</code></a> feat: Add <code>rng.gen_range</code> support. (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/519">#519</a>)</li>
<li><a href="37764b784d"><code>37764b7</code></a> add rkyv support (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/520">#520</a>)</li>
<li><a href="8c27247736"><code>8c27247</code></a> Version 1.24.0 (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/518">#518</a>)</li>
<li><a href="4ee19c6e65"><code>4ee19c6</code></a> Add <code>rand</code> support (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/517">#517</a>)</li>
<li><a href="98d8057788"><code>98d8057</code></a> Remove unused dependencies (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/516">#516</a>)</li>
<li><a href="a963e79628"><code>a963e79</code></a> Update to Rust 2021 (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/513">#513</a>)</li>
<li><a href="2b582d6255"><code>2b582d6</code></a> Enable borsh tests on github actions (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/504">#504</a>)</li>
<li><a href="7a95035ba3"><code>7a95035</code></a> Fixes issue with workspace build always including default (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/503">#503</a>)</li>
<li>See full diff in <a href="https://github.com/paupino/rust-decimal/compare/1.23.1...1.25.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust_decimal_macros&package-manager=cargo&previous-version=1.23.1&new-version=1.25.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

1058: Bump reqwest from 0.11.10 to 0.11.11 r=delta1 a=dependabot[bot]

Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.10 to 0.11.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/seanmonstar/reqwest/releases">reqwest's releases</a>.</em></p>
<blockquote>
<h2>v0.11.11</h2>
<h2>What's Changed</h2>
<ul>
<li>Add HTTP/2 keep-alive configuration methods on <code>ClientBuilder</code>.</li>
<li>Add <code>ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()</code>.</li>
<li>Add <code>impl Service&lt;Request&gt;</code> for <code>Client</code> and <code>&amp;'_ Client</code>.</li>
<li>(wasm) Add <code>RequestBuilder::basic_auth()</code>.</li>
<li>Fix <code>RequestBuilder::header</code> to not override <code>sensitive</code> if user explicitly set on a <code>HeaderValue</code>.</li>
<li>Fix rustls parsing of elliptic curve private keys.</li>
<li>Fix Proxy URL parsing of some invalid targets.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jqnatividad"><code>`@​jqnatividad</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1509">seanmonstar/reqwest#1509</a></li>
<li><a href="https://github.com/MisileLab"><code>`@​MisileLab</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1527">seanmonstar/reqwest#1527</a></li>
<li><a href="https://github.com/flavio"><code>`@​flavio</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1526">seanmonstar/reqwest#1526</a></li>
<li><a href="https://github.com/eyalsatori"><code>`@​eyalsatori</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1523">seanmonstar/reqwest#1523</a></li>
<li><a href="https://github.com/Mathspy"><code>`@​Mathspy</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1420">seanmonstar/reqwest#1420</a></li>
<li><a href="https://github.com/cuishuang"><code>`@​cuishuang</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1531">seanmonstar/reqwest#1531</a></li>
<li><a href="https://github.com/Coding-Badly"><code>`@​Coding-Badly</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1539">seanmonstar/reqwest#1539</a></li>
<li><a href="https://github.com/Osteoporosis"><code>`@​Osteoporosis</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1543">seanmonstar/reqwest#1543</a></li>
<li><a href="https://github.com/neoeinstein"><code>`@​neoeinstein</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/pull/1556">seanmonstar/reqwest#1556</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md">reqwest's changelog</a>.</em></p>
<blockquote>
<h2>v0.11.11</h2>
<ul>
<li>Add HTTP/2 keep-alive configuration methods on <code>ClientBuilder</code>.</li>
<li>Add <code>ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()</code>.</li>
<li>Add <code>impl Service&lt;Request&gt;</code> for <code>Client</code> and <code>&amp;'_ Client</code>.</li>
<li>(wasm) Add <code>RequestBuilder::basic_auth()</code>.</li>
<li>Fix <code>RequestBuilder::header</code> to not override <code>sensitive</code> if user explicitly set on a <code>HeaderValue</code>.</li>
<li>Fix rustls parsing of elliptic curve private keys.</li>
<li>Fix Proxy URL parsing of some invalid targets.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5397d2cf8e"><code>5397d2c</code></a> v0.11.11</li>
<li><a href="7a11d397eb"><code>7a11d39</code></a> feat: enable client to be a service without ownership (<a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/issues/1556">#1556</a>)</li>
<li><a href="c4603b0a5d"><code>c4603b0</code></a> Disable dependabot wasm alerts</li>
<li><a href="d536ce261c"><code>d536ce2</code></a> Fix RequestBuilder to send explicitly sensitive headers</li>
<li><a href="28840afd46"><code>28840af</code></a> <a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/issues/1095">#1095</a>: Implement <code>basic_auth</code> for WASM</li>
<li><a href="c4d5094522"><code>c4d5094</code></a> Update path and toolchain up to date</li>
<li><a href="a80c863a42"><code>a80c863</code></a> Bump async-compression</li>
<li><a href="48a88fee7a"><code>48a88fe</code></a> fix style and format</li>
<li><a href="0b9b499356"><code>0b9b499</code></a> Expose hyper HTTP2 keep-alive config.</li>
<li><a href="2a6e012009"><code>2a6e012</code></a> Fix Proxy URL parse error handling. (<a href="https://github-redirect.dependabot.com/seanmonstar/reqwest/issues/1539">#1539</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=reqwest&package-manager=cargo&previous-version=0.11.10&new-version=0.11.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 11:28:20 +00:00
dependabot[bot]
a7e3f0ac2f
Bump time from 0.3.9 to 0.3.11
Bumps [time](https://github.com/time-rs/time) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.9...v0.3.11)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 11:24:59 +00:00
bors[bot]
f7c6d1eefe
Merge #1062
1062: fix: change logs to UTC due to bug in time crate r=delta1 a=delta1

On Linux and macOS, no program output was being observed. This is referenced in the [LocalTime] docs for `tracing-subscriber`,
which links to this [unsoundness issue] in the time crate.

Rather than introducing a possible vector for undefined behaviour and segfaults, I have just changed the logging to use UTC time instead.

When running the ASB as a systemd service, one would generally use the `--disable-timestamps` flag anyway as systemd adds its own timestamps which can be local to the server.

If the situation with `tracing-subscriber` and the time crate is fixed then this can be updated.

This commit also updates the `tracing-subscriber` and `tracing-appender` dependencies, closing #987.

[LocalTime]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html
[unsoundness issue]: https://github.com/time-rs/time/issues/293#issuecomment-748151025

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-07-27 12:20:45 +00:00
Byron Hambly
8eff499a63
fix: change logs to UTC due to bug in time crate
On Linux and macOS, no program output was being observed.
This is referenced in the [LocalTime] docs for `tracing-subscriber`,
which links to this [unsoundness issue] in the time crate.

Rather than introducing a possible vector for undefined behaviour and
segfaults, I have just changed the logging to use UTC time instead.

When running the ASB as a systemd service, one would generally use the
`--disable-timestamps` flag anyway as systemd adds its own timestamps
which can be local to the server.

If the situation with `tracing-subscriber` and the time crate is fixed
then this can be updated.

This commit also updates the `tracing-subscriber` and `tracing-appender`
dependencies, closing #987.

[LocalTime]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html
[unsoundness issue]: https://github.com/time-rs/time/issues/293#issuecomment-748151025
2022-07-26 14:16:41 +02:00
dependabot[bot]
02bbacac54
Bump reqwest from 0.11.10 to 0.11.11
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.10 to 0.11.11.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 11:13:46 +00:00
dependabot[bot]
7928c9f5c4
Bump rust_decimal_macros from 1.23.1 to 1.25.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.23.1 to 1.25.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases)
- [Changelog](https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paupino/rust-decimal/compare/1.23.1...1.25.0)

---
updated-dependencies:
- dependency-name: rust_decimal_macros
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 11:13:38 +00:00
bors[bot]
7023e75bb5
Merge #1054
1054: deps: update serde, serde_json, thiserror, async-trait r=delta1 a=delta1

Closes:

- #1053 
- #1045 
- #1030 
- #1039 

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
2022-07-21 12:51:27 +00:00
Byron Hambly
6bf472fc12
deps: bump async-trait to 0.1.56
#1039
2022-07-21 14:23:05 +02:00
Byron Hambly
8c408321e4
deps: bump thiserror to 10.31
#1030
2022-07-21 14:20:56 +02:00
Byron Hambly
3d85c1f05e
deps: bump serde, serde_json, pin-project
#1053
 #1045
2022-07-21 14:17:05 +02:00
bors[bot]
39005cd530
Merge #1051 #1052
1051: Bump Swatinem/rust-cache from 1.4.0 to 2.0.0 r=delta1 a=dependabot[bot]

Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.4.0 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/releases">Swatinem/rust-cache's releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li>The action code was refactored to allow for caching multiple workspaces and
different <code>target</code> directory layouts.</li>
<li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a
single <code>workspaces</code> option that has the form of <code>$workspace -&gt; $target</code>.</li>
<li>Support for considering <code>env-vars</code> as part of the cache key.</li>
<li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md">Swatinem/rust-cache's changelog</a>.</em></p>
<blockquote>
<h2>2.0.0</h2>
<ul>
<li>The action code was refactored to allow for caching multiple workspaces and
different <code>target</code> directory layouts.</li>
<li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a
single <code>workspaces</code> option that has the form of <code>$workspace -&gt; $target</code>.</li>
<li>Support for considering <code>env-vars</code> as part of the cache key.</li>
<li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6720f05bc4"><code>6720f05</code></a> 2.0.0</li>
<li><a href="5733786579"><code>5733786</code></a> rebuild</li>
<li><a href="622616010e"><code>6226160</code></a> prepare v2</li>
<li><a href="0497f9301f"><code>0497f93</code></a> improve registry cleanpu</li>
<li><a href="7b8626742a"><code>7b86267</code></a> update registry cleaning</li>
<li><a href="911d8e9e55"><code>911d8e9</code></a> test sparse registry</li>
<li><a href="875be5ce2d"><code>875be5c</code></a> bump cache</li>
<li><a href="07a2ee71bc"><code>07a2ee7</code></a> lol, dependency check was reversed</li>
<li><a href="7c190ef171"><code>7c190ef</code></a> fix actual test code ;-)</li>
<li><a href="fffd6895b2"><code>fffd689</code></a> add some more tests</li>
<li>Additional commits viewable in <a href="https://github.com/Swatinem/rust-cache/compare/v1.4.0...v2.0.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Swatinem/rust-cache&package-manager=github_actions&previous-version=1.4.0&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

1052: Bump dprint/check from 2.0 to 2.1 r=delta1 a=dependabot[bot]

Bumps [dprint/check](https://github.com/dprint/check) from 2.0 to 2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dprint/check/releases">dprint/check's releases</a>.</em></p>
<blockquote>
<h2>v2.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: ensure it can run on all operating systems and update instructions <a href="https://github-redirect.dependabot.com/dprint/check/pull/7">dprint/check#7</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/dprint/check/compare/v2.0...v2.1">https://github.com/dprint/check/compare/v2.0...v2.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b8a69d368d"><code>b8a69d3</code></a> fix: ensure it can run on all operating systems (<a href="https://github-redirect.dependabot.com/dprint/check/issues/7">#7</a>)</li>
<li><a href="ded32b928d"><code>ded32b9</code></a> chore: remove empty line (<a href="https://github-redirect.dependabot.com/dprint/check/issues/6">#6</a>)</li>
<li>See full diff in <a href="https://github.com/dprint/check/compare/v2.0...v2.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dprint/check&package-manager=github_actions&previous-version=2.0&new-version=2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 13:37:05 +00:00
dependabot[bot]
db3bb3db54
Bump dprint/check from 2.0 to 2.1
Bumps [dprint/check](https://github.com/dprint/check) from 2.0 to 2.1.
- [Release notes](https://github.com/dprint/check/releases)
- [Commits](https://github.com/dprint/check/compare/v2.0...v2.1)

---
updated-dependencies:
- dependency-name: dprint/check
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 11:16:29 +00:00
dependabot[bot]
d885f491d5
Bump Swatinem/rust-cache from 1.4.0 to 2.0.0
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.4.0 to 2.0.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1.4.0...v2.0.0)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 11:16:26 +00:00
bors[bot]
59d5a6c096
Merge #1040
1040: Bump actions/setup-python from 3 to 4 r=delta1 a=dependabot[bot]

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h3>What's Changed</h3>
<ul>
<li>Support for <code>python-version-file</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/336">#336</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
    python-version-file: '.python-version' # Read python version from a file
- run: python my_script.py
</code></pre>
<p>There is no default python version for this <code>setup-python</code> major version, the action requires to specify either <code>python-version</code> input or <code>python-version-file</code> input. If the <code>python-version</code> input is not specified the action will try to read required version from file from <code>python-version-file</code> input.</p>
<ul>
<li>Use pypyX.Y for PyPy <code>python-version</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/349">#349</a></li>
</ul>
<p>Example of usage:</p>
<pre lang="yaml"><code>- uses: actions/setup-python@v4
  with:
    python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
- run: python my_script.py
</code></pre>
<ul>
<li>
<p><code>RUNNER_TOOL_CACHE</code> environment variable is equal <code>AGENT_TOOLSDIRECTORY</code>: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/338">#338</a></p>
</li>
<li>
<p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/347">#347</a></p>
</li>
<li>
<p><code>PKG_CONFIG_PATH</code> environment variable: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/400">#400</a></p>
</li>
<li>
<p>Added <code>python-path</code> output: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/405">#405</a>
<code>python-path</code> output contains Python executable path.</p>
</li>
<li>
<p>Updated <code>zeit/ncc</code> to <code>vercel/ncc</code> package: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/393">#393</a></p>
</li>
<li>
<p>Bugfix: fixed output for prerelease version of poetry: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/409">#409</a></p>
</li>
<li>
<p>Made <code>pythonLocation</code> environment variable consistent for Python and PyPy: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/418">#418</a></p>
</li>
<li>
<p>Bugfix for <code>3.x-dev</code> syntax: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/417">#417</a></p>
</li>
<li>
<p>Other improvements: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/318">#318</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/396">#396</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/384">#384</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/387">#387</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/388">#388</a></p>
</li>
</ul>
<h2>Update actions/cache version to 2.0.2</h2>
<p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes related to GHES 3.5 (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/382">actions/setup-python#382</a>)</p>
<h2>Add &quot;cache-hit&quot; output and fix &quot;python-version&quot; output for PyPy</h2>
<p>This release introduces new output cache-hit (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/373">actions/setup-python#373</a>) and fix python-version output for PyPy (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/365">actions/setup-python#365</a>)</p>
<p>The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d09bd5e600"><code>d09bd5e</code></a> fix: 3.x-dev can install a 3.y version (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/417">#417</a>)</li>
<li><a href="f72db171ab"><code>f72db17</code></a> Made env.var pythonLocation consistent for Python and PyPy (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/418">#418</a>)</li>
<li><a href="53e15292cd"><code>53e1529</code></a> add support for python-version-file (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/336">#336</a>)</li>
<li><a href="3f82819745"><code>3f82819</code></a> Fix output for prerelease version of poetry (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/409">#409</a>)</li>
<li><a href="397252c582"><code>397252c</code></a> Update zeit/ncc to vercel/ncc (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/393">#393</a>)</li>
<li><a href="de977ad132"><code>de977ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/412">#412</a> from vsafonkin/v-vsafonkin/fix-poetry-cache-test</li>
<li><a href="22c6af91ce"><code>22c6af9</code></a> Change PyPy version to rebuild cache</li>
<li><a href="081a3cf1a5"><code>081a3cf</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/405">#405</a> from mayeut/interpreter-path</li>
<li><a href="ff706563d7"><code>ff70656</code></a> feature: add a <code>python-path</code> output</li>
<li><a href="fff15a21cc"><code>fff15a2</code></a> Use pypyX.Y for PyPy python-version input (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/349">#349</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v3...v4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 13:14:20 +00:00
dependabot[bot]
051f541f7f
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 11:07:50 +00:00
bors[bot]
365078d394
Merge #1026
1026: Bump serde_with from 1.12.1 to 1.13.0 r=delta1 a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.12.1 to 1.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p>
<blockquote>
<h2>serde_with v1.13.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Added support for <code>indexmap::IndexMap</code> and <code>indexmap::IndexSet</code> types. <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/431">#431</a>, <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/436">#436</a></p>
<p>Both types are now compatible with these functions: <code>maps_duplicate_key_is_error</code>, <code>maps_first_key_wins</code>, <code>sets_duplicate_value_is_error</code>, <code>sets_last_value_wins</code>.
<code>serde_as</code> integration is provided by implementing both <code>SerializeAs</code> and <code>DeserializeAs</code> for both types.
<code>IndexMap</code>s can also be serialized as a list of types via the <code>serde_as(as = &quot;Vec&lt;(_, _)&gt;&quot;)</code> annotation.</p>
<p>All implementations are gated behind the <code>indexmap</code> feature.</p>
<p>Thanks to <a href="https://github.com/jgrund"><code>`@​jgrund</code></a>` for providing parts of the implementation.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6fe1198710"><code>6fe1198</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/438">#438</a></li>
<li><a href="948a383c5d"><code>948a383</code></a> Bump serde_with to v1.13.0</li>
<li><a href="c821df94c9"><code>c821df9</code></a> Package tests in crates</li>
<li><a href="eabd3457ec"><code>eabd345</code></a> Add changelog entry for the new <code>indexmap</code> support</li>
<li><a href="88ffa73331"><code>88ffa73</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/436">#436</a></li>
<li><a href="919683697f"><code>9196836</code></a> Make code compatible with older Pythons before const generic arrays</li>
<li><a href="ed5ff38571"><code>ed5ff38</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/437">#437</a></li>
<li><a href="fbc9a965a3"><code>fbc9a96</code></a> Replace <code>serde_derive</code> imports in test with imports from <code>serde</code></li>
<li><a href="82a5d18537"><code>82a5d18</code></a> Add tests for IndexMap and IndexSet</li>
<li><a href="a8bce82320"><code>a8bce82</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/434">#434</a></li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.12.1...v1.13.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=1.12.1&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 11:59:28 +00:00
dependabot[bot]
1663c45071
Bump serde_with from 1.12.1 to 1.13.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v1.12.1...v1.13.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 11:09:59 +00:00
leonardo
9faef08059 Removed unnecesary reference 2022-04-22 17:14:00 +02:00