Commit Graph

1886 Commits

Author SHA1 Message Date
dependabot[bot]
10de83a40a
Bump bmrng from 0.5.1 to 0.5.2
Bumps [bmrng](https://github.com/oguzbilgener/bmrng) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/oguzbilgener/bmrng/releases)
- [Commits](https://github.com/oguzbilgener/bmrng/compare/v0.5.1...v0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 13:43:46 +00:00
dependabot[bot]
137a0d86a3
Bump serde from 1.0.126 to 1.0.130
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.130.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.130)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 13:43:22 +00:00
dependabot[bot]
555de829c5
Bump thiserror from 1.0.26 to 1.0.28
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.26 to 1.0.28.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.26...1.0.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 12:57:48 +00:00
dependabot[bot]
0ff47c10cb
Bump rust_decimal_macros from 1.14.3 to 1.15.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.14.3 to 1.15.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases)
- [Commits](https://github.com/paupino/rust-decimal/compare/1.14.3...1.15.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>
2021-09-03 12:29:43 +00:00
bors[bot]
e8007cc1cb
Merge #739
739: Bump serde_json from 1.0.66 to 1.0.67 r=thomaseizinger a=dependabot[bot]

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.66 to 1.0.67.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.67</h2>
<ul>
<li>Fix inconsistency of deserialization of unknown fields in a struct variant from bytes vs from Value (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/795">#795</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f6bbab4835"><code>f6bbab4</code></a> Release 1.0.67</li>
<li><a href="55efb3f0f2"><code>55efb3f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/796">#796</a> from dtolnay/visitobject</li>
<li><a href="c7b7186957"><code>c7b7186</code></a> Detect unknown struct variant fields deserializing from Value</li>
<li><a href="12207ed2a3"><code>12207ed</code></a> Add regression test for issue 795</li>
<li><a href="7b4585fbff"><code>7b4585f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/794">#794</a> from dtolnay/visitarray</li>
<li><a href="89cfb456ff"><code>89cfb45</code></a> Use existing helpers for running visit_seq over a Vec/slice</li>
<li><a href="604d5cf6fe"><code>604d5cf</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/793">#793</a> from dtolnay/valuede</li>
<li><a href="cdc2ad3781"><code>cdc2ad3</code></a> Delete Deserializer impl from value:🇩🇪:MapRefDeserializer</li>
<li><a href="cb1e7301d6"><code>cb1e730</code></a> Delete Deserializer impl from value:🇩🇪:SeqRefDeserializer</li>
<li><a href="fcd94f0a90"><code>fcd94f0</code></a> Delete Deserializer impl from value:🇩🇪:SeqDeserializer</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.66...v1.0.67">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.66&new-version=1.0.67)](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>
2021-09-03 12:28:54 +00:00
bors[bot]
bedba03ea1
Merge #734
734: Bump torut from 0.1.10 to 0.2.0 r=thomaseizinger a=dependabot[bot]

Bumps [torut](https://github.com/teawithsand/torut) from 0.1.10 to 0.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/teawithsand/torut/releases">torut's releases</a>.</em></p>
<blockquote>
<h2>Release 0.2.0</h2>
<p>Updates old dependencies and drops support tor v2 onion services as well as dependencies, used to handle these.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2abeb89db1"><code>2abeb89</code></a> Version bump</li>
<li><a href="15820d713b"><code>15820d7</code></a> Removed too specific versioning from dependencies while preserving semver com...</li>
<li><a href="bbc11a71fa"><code>bbc11a7</code></a> Removed v2 onion service support</li>
<li><a href="37e7f7855c"><code>37e7f78</code></a> Fixed compilation warnings</li>
<li><a href="83be9b0dcf"><code>83be9b0</code></a> Update/dependencies (<a href="https://github-redirect.dependabot.com/teawithsand/torut/issues/14">#14</a>)</li>
<li><a href="39b8289223"><code>39b8289</code></a> Change tokio version to 1 (<a href="https://github-redirect.dependabot.com/teawithsand/torut/issues/13">#13</a>)</li>
<li><a href="eba9df3ad9"><code>eba9df3</code></a> Changed README.MD</li>
<li>See full diff in <a href="https://github.com/teawithsand/torut/compare/v0.1.10...v0.2.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=torut&package-manager=cargo&previous-version=0.1.10&new-version=0.2.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>
2021-09-03 12:11:10 +00:00
dependabot[bot]
e1ea89ae9f
Bump serde_json from 1.0.66 to 1.0.67
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.66...v1.0.67)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 11:08:33 +00:00
dependabot[bot]
578d2e7ea3
Bump torut from 0.1.10 to 0.2.0
Bumps [torut](https://github.com/teawithsand/torut) from 0.1.10 to 0.2.0.
- [Release notes](https://github.com/teawithsand/torut/releases)
- [Commits](https://github.com/teawithsand/torut/compare/v0.1.10...v0.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 11:08:32 +00:00
bors[bot]
3db96dd170
Merge #691
691: Bump time from 0.2.27 to 0.3.2 r=thomaseizinger a=dependabot[bot]

Bumps [time](https://github.com/time-rs/time) from 0.2.27 to 0.3.2.
<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.2 [2021-08-25]</h2>
<h3>Added</h3>
<ul>
<li><code>Instant</code> is now <code>#[repr(transparent)]</code></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Constructing a <code>Date</code> from its ISO year, week, and weekday now returns the correct value in all
circumstances. Previously, dates with an ISO year less than zero may have returned incorrect
values. This affects both the <code>Date::from_iso_week_date</code> method and the <code>date!</code> macro.</li>
</ul>
<h2>0.3.1 [2021-08-06]</h2>
<h3>Added</h3>
<ul>
<li><code>Month</code> now implements <code>TryFrom&lt;u8&gt;</code></li>
<li><code>From&lt;Month&gt;</code> is now implemented for <code>u8</code></li>
<li>The parser now accepts &quot;5 PM&quot; and similar as a valid time. Only the 12-hour clock hour and the
AM/PM suffix may be present; any other components representing a time will cause an error (this
exact behavior is not guaranteed).</li>
<li>The <code>time!</code> macro accepts the &quot;5 PM&quot; syntax with the same restriction.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Macros that have a time component (<code>time!</code> and <code>datetime!</code>) no longer accept &quot;0:00 AM&quot; and
similar. This was previously erroneously accepted.</li>
</ul>
<h2>0.3.0 [2021-07-30]</h2>
<h3>Added</h3>
<ul>
<li><code>datetime!</code> macro, which allows the construction of a statically verified <code>PrimitiveDateTime</code> or
<code>OffsetDateTime</code>.</li>
<li><code>PrimitiveDateTime::replace_time</code></li>
<li><code>PrimitiveDateTime::replace_date</code></li>
<li><code>OffsetDateTime::replace_time</code></li>
<li><code>OffsetDateTime::replace_date</code></li>
<li><code>OffsetDateTime::replace_date_time</code></li>
<li><code>OffsetDateTime::replace_offset</code></li>
<li><code>#![no_alloc]</code> support</li>
<li><code>Date::to_iso_week_date</code>, replacing <code>Date::iso_year_week</code></li>
<li><code>Date::MIN</code></li>
<li><code>Date::MAX</code></li>
<li><code>UtcOffset::from_hms</code></li>
<li><code>UtcOffset::from_whole_seconds</code></li>
<li><code>UtcOffset::as_hms</code></li>
<li><code>UtcOffset::whole_hours</code></li>
<li><code>UtcOffset::whole_minutes</code></li>
<li><code>UtcOffset::minutes_past_hour</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4020fd632f"><code>4020fd6</code></a> v0.3.2 release</li>
<li><a href="ffb028e4d6"><code>ffb028e</code></a> Fix constructing dates with negative ISO year</li>
<li><a href="635ef21646"><code>635ef21</code></a> Add additional roundtrip tests</li>
<li><a href="fefc8c765e"><code>fefc8c7</code></a> Warn on future deprecations</li>
<li><a href="a83996974f"><code>a839969</code></a> Use <code>cargo-criterion</code> for benchmarks</li>
<li><a href="6117ab74a2"><code>6117ab7</code></a> Pin trybuild</li>
<li><a href="12673bfd18"><code>12673bf</code></a> Make <code>Instant</code> <code>#[repr(transparent)]</code></li>
<li><a href="e52e355689"><code>e52e355</code></a> Use more consistent measure for benchmarks</li>
<li><a href="102437e1d0"><code>102437e</code></a> Update CI for trybuild</li>
<li><a href="656f7d98ce"><code>656f7d9</code></a> Move to trybuild</li>
<li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.2.27...v0.3.2">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.2.27&new-version=0.3.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>
2021-09-03 09:24:18 +00:00
bors[bot]
e6ef45cc70
Merge #735
735: Bump futures from 0.3.15 to 0.3.17 r=thomaseizinger a=dependabot[bot]

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/releases">futures's releases</a>.</em></p>
<blockquote>
<h2>0.3.17</h2>
<ul>
<li>Use <code>FuturesOrdered</code> in <code>join_all</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2412">#2412</a>)</li>
<li>Add <code>{future, stream}::poll_immediate</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2452">#2452</a>)</li>
<li>Add <code>stream_select!</code> macro (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2262">#2262</a>)</li>
<li>Implement <code>Default</code> for <code>OptionFuture</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2471">#2471</a>)</li>
<li>Add <code>Peekable::{peek_mut, poll_peek_mut}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2488">#2488</a>)</li>
<li>Add <code>BufReader::seek_relative</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2489">#2489</a>)</li>
</ul>
<h2>0.3.16</h2>
<ul>
<li>Add <code>TryStreamExt::try_chunks</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2438">#2438</a>)</li>
<li>Add <code>StreamExt::{all, any}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2460">#2460</a>)</li>
<li>Add <code>stream::select_with_strategy</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2450">#2450</a>)</li>
<li>Update to new <code>io_slice_advance</code> interface (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2454">#2454</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's changelog</a>.</em></p>
<blockquote>
<h1>0.3.17 - 2021-08-30</h1>
<ul>
<li>Use <code>FuturesOrdered</code> in <code>join_all</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2412">#2412</a>)</li>
<li>Add <code>{future, stream}::poll_immediate</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2452">#2452</a>)</li>
<li>Add <code>stream_select!</code> macro (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2262">#2262</a>)</li>
<li>Implement <code>Default</code> for <code>OptionFuture</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2471">#2471</a>)</li>
<li>Add <code>Peekable::{peek_mut, poll_peek_mut}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2488">#2488</a>)</li>
<li>Add <code>BufReader::seek_relative</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2489">#2489</a>)</li>
</ul>
<h1>0.3.16 - 2021-07-23</h1>
<ul>
<li>Add <code>TryStreamExt::try_chunks</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2438">#2438</a>)</li>
<li>Add <code>StreamExt::{all, any}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2460">#2460</a>)</li>
<li>Add <code>stream::select_with_strategy</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2450">#2450</a>)</li>
<li>Update to new <code>io_slice_advance</code> interface (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2454">#2454</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7caefa5130"><code>7caefa5</code></a> Release 0.3.17</li>
<li><a href="3f064f4a7e"><code>3f064f4</code></a> Create GitHub release automatically</li>
<li><a href="1c9b1c246b"><code>1c9b1c2</code></a> Update changelog</li>
<li><a href="efcdda8a57"><code>efcdda8</code></a> Add BufReader::seek_relative (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2489">#2489</a>)</li>
<li><a href="8b39aa1988"><code>8b39aa1</code></a> Add Peekable::{peek_mut, poll_peek_mut} (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2488">#2488</a>)</li>
<li><a href="302444b280"><code>302444b</code></a> Remove remaining cfg(target_has_atomic) (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2487">#2487</a>)</li>
<li><a href="77c148fb0b"><code>77c148f</code></a> Prefer doc(no_inline) to doc(hidden) for reexports (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2479">#2479</a>)</li>
<li><a href="ccb59ce5e1"><code>ccb59ce</code></a> Implement <code>Default</code> trait for <code>OptionFuture</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2471">#2471</a>)</li>
<li><a href="a74e4e5400"><code>a74e4e5</code></a> Add stream_select macro (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2262">#2262</a>)</li>
<li><a href="79965bd22e"><code>79965bd</code></a> New poll_immediate functions to immediately return from a poll (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2452">#2452</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.17">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.15&new-version=0.3.17)](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>
2021-09-03 08:58:20 +00:00
Thomas Eizinger
522c857cbd
Limit the number of open dependabot to 10 instead of 5
This should give us a bit more slack to update certain dependencies
even if we have a few pending that are currently breaking the build.
2021-09-03 18:46:39 +10:00
dependabot[bot]
a2ab124a7f
Bump time from 0.2.27 to 0.3.2
Bumps [time](https://github.com/time-rs/time) from 0.2.27 to 0.3.2.
- [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.2.27...v0.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 18:42:40 +10:00
bors[bot]
ab8fae6120
Merge #733
733: Bump sha2 from 0.9.5 to 0.9.6 r=thomaseizinger a=dependabot[bot]

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.5 to 0.9.6.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4a2845c226"><code>4a2845c</code></a> sha2 v0.9.6 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/308">#308</a>)</li>
<li><a href="876fdc1139"><code>876fdc1</code></a> sha-1 v0.9.8 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/307">#307</a>)</li>
<li><a href="8288805b24"><code>8288805</code></a> build(deps): bump cpufeatures from 0.1.5 to 0.2.1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/306">#306</a>)</li>
<li><a href="7ad6a68922"><code>7ad6a68</code></a> blake2 v0.9.2 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/305">#305</a>)</li>
<li><a href="a7a5ad4648"><code>a7a5ad4</code></a> make blake2 with simd_opt work on nightly (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/301">#301</a>)</li>
<li><a href="1cb3dee1d4"><code>1cb3dee</code></a> fsb: fix Reset impl and reduce crate size (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/300">#300</a>)</li>
<li><a href="a45eaef873"><code>a45eaef</code></a> ripemd256: add CI config (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/298">#298</a>)</li>
<li><a href="ada848ee18"><code>ada848e</code></a> README.md: add <code>ripemd256</code> crate (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/297">#297</a>)</li>
<li><a href="bf1876bf0b"><code>bf1876b</code></a> Fix typo in RIPEMD-256 keywords (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/296">#296</a>)</li>
<li><a href="677f59a201"><code>677f59a</code></a> RIPEMD-256 implementation (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/278">#278</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.9.6">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.9.5&new-version=0.9.6)](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>
2021-09-03 08:35:19 +00:00
dependabot[bot]
50432e6647
Bump futures from 0.3.15 to 0.3.17
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 07:10:05 +00:00
dependabot[bot]
2e548f14b8
Bump sha2 from 0.9.5 to 0.9.6
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 07:09:52 +00:00
bors[bot]
1a35c8f2ec
Merge #669
669: Bump serde_cbor from 0.11.1 to 0.11.2 r=thomaseizinger a=dependabot[bot]

Bumps [serde_cbor](https://github.com/pyfisch/cbor) from 0.11.1 to 0.11.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pyfisch/cbor/releases">serde_cbor's releases</a>.</em></p>
<blockquote>
<h2>PROJECT IS ARCHIVED</h2>
<p>After almost 6 years it is time to retire this crate. This implementation of CBOR for serde is used in hundreds of projects with widely differing needs. Besides the standard features it contains code for no-std environments, a packed encoding and CBOR tags.
However while these features are useful to many people they sometimes interact poorly with each others and with optional features of serde itself. Because I don't use the crate myself and because of the potential for new errors I have been reluctant to accept any changes or additional features for the crate. Since this situation is unlikely to change anytime soon and no one else stepped up to maintain this crate I am archiving the repository today. If the crate works for you there is no need to switch to another implementation. However if you encounter problems or for new projects I recommend you take a look at these crates:</p>
<ul>
<li><a href="https://crates.io/crates/ciborium">ciborium</a></li>
<li><a href="https://crates.io/crates/minicbor">minicbor</a></li>
</ul>
<h2>Update to serde 1.0.0</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="347a3f096d"><code>347a3f0</code></a> Final commit, archive project</li>
<li><a href="a218403a52"><code>a218403</code></a> Fix rustfmt issues in CI jobs (<a href="https://github-redirect.dependabot.com/pyfisch/cbor/issues/192">#192</a>)</li>
<li><a href="d012830653"><code>d012830</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pyfisch/cbor/issues/176">#176</a> from ctm/packed_clarification_and_minimization</li>
<li><a href="3d6d7a2de7"><code>3d6d7a2</code></a> Clarify packed format and provide an example that also uses legacy_enums()</li>
<li>See full diff in <a href="https://github.com/pyfisch/cbor/compare/v0.11.1...v0.11.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_cbor&package-manager=cargo&previous-version=0.11.1&new-version=0.11.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>
2021-09-03 06:53:19 +00:00
bors[bot]
def03b0c95
Merge #731
731: Release version 0.8.3 r=rishflab a=comit-botty-mc-botface

Hi `@rishflab!`

This PR was created in response to a manual trigger of the release workflow here: https://github.com/comit-network/xmr-btc-swap/actions/runs/1196685695.
I've updated the changelog and bumped the versions in the manifest files in this commit: 4ff74a3940.

Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.

Co-authored-by: COMIT Botty McBotface <botty@coblox.tech>
2021-09-03 05:23:30 +00:00
COMIT Botty McBotface
4ff74a3940 Prepare release 0.8.3 2021-09-03 04:05:48 +00:00
bors[bot]
b8650e5282
Merge #730
730: Revert "Release version 0.8.3" r=rishflab a=rishflab

Reverts comit-network/xmr-btc-swap#726

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-03 01:27:15 +00:00
rishflab
2d64a8d356
Revert "Release version 0.8.3" 2021-09-03 10:47:28 +10:00
bors[bot]
946144248f
Merge #728
728: Revert "Release version 0.8.3" r=rishflab a=rishflab

Reverts comit-network/xmr-btc-swap#727

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-02 23:51:54 +00:00
rishflab
27b1e60f0b
Revert "Release version 0.8.3" 2021-09-02 19:32:43 +10:00
bors[bot]
c8e3ab5c9f
Merge #727
727: Release version 0.8.3 r=rishflab a=comit-botty-mc-botface

Hi `@rishflab!`

This PR was created in response to a manual trigger of the release workflow here: https://github.com/comit-network/xmr-btc-swap/actions/runs/1193551539.
I've updated the changelog and bumped the versions in the manifest files in this commit: deadb7d4c8.

Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.

Co-authored-by: COMIT Botty McBotface <botty@coblox.tech>
2021-09-02 09:10:34 +00:00
COMIT Botty McBotface
deadb7d4c8 Prepare release 0.8.3 2021-09-02 09:09:40 +00:00
bors[bot]
c76b981a79
Merge #726
726: Release version 0.8.3 r=rishflab a=comit-botty-mc-botface

Hi `@rishflab!`

This PR was created in response to a manual trigger of the release workflow here: https://github.com/comit-network/xmr-btc-swap/actions/runs/1192970084.
I've updated the changelog and bumped the versions in the manifest files in this commit: 2a4ffaeacb.

Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.

Co-authored-by: COMIT Botty McBotface <botty@coblox.tech>
2021-09-02 08:10:42 +00:00
COMIT Botty McBotface
2a4ffaeacb Prepare release 0.8.3 2021-09-02 05:46:50 +00:00
bors[bot]
1f371ecfee
Merge #724
724: Handle errors when waiting for subscriptions r=rishflab a=rishflab

We were not thorough enough in PR #705 and there were some remaining
unhandled errors.

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-02 05:07:59 +00:00
rishflab
ce58b8b333 Handle errors when waiting for subscriptions
We were not thorough enough in PR #705 and there were some remaining
unhandled errors.

Co-authored-by: Daniel Karzel <daniel@comit.network>
2021-09-02 14:23:41 +10:00
bors[bot]
88eec15e97
Merge #714
714: Improve discoverability of contribution guidelines r=rishflab a=rishflab

Closes #712 

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-02 04:02:17 +00:00
jerzybrzoska
8634d81488 Add note to readme that --testnet swaps on monero stagenet 2021-09-02 13:47:29 +10:00
bors[bot]
0b647bf3d2
Merge #722
722: Fix duplication of entry in CHANGELOG.md r=rishflab a=rishflab



Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-02 03:31:06 +00:00
rishflab
5e35a2e575 Fix duplication of entry in CHANGELOG.md 2021-09-02 12:01:32 +10:00
rishflab
fff2f6e783 Improve discoverability of contribution guidelines 2021-09-02 10:48:04 +10:00
bors[bot]
699b16bc43
Merge #716
716: Release version 0.8.2 r=rishflab a=comit-botty-mc-botface

Hi `@rishflab!`

This PR was created in response to a manual trigger of the release workflow here: https://github.com/comit-network/xmr-btc-swap/actions/runs/1188401341.
I've updated the changelog and bumped the versions in the manifest files in this commit: fb0a20106856597ab75239548396d6a9ff52c5dc.

Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.

Co-authored-by: COMIT Botty McBotface <botty@coblox.tech>
2021-09-01 06:31:52 +00:00
COMIT Botty McBotface
d482db4e67 Prepare release 0.8.2 2021-09-01 05:29:31 +00:00
bors[bot]
117afa78d9
Merge #717
717: Fetch all utxo r=rishflab a=rishflab



Co-authored-by: devbordecraft <devbordecraft>
2021-09-01 04:11:33 +00:00
devbordecraft
7a12a847a0 Fetch multiple UTXOs when we do max_giveable 2021-09-01 13:25:29 +10:00
devbordecraft
f2df838a3c Allow withdrawing and viewing of the bitcoin balance on swap-cli 2021-09-01 13:25:27 +10:00
bors[bot]
51d8623ed7
Merge #704
704: Allow withdrawing and viewing of the bitcoin balance on swap-cli r=rishflab a=devbordecraft

Same mechanics of the ASB but on swap-cli as discussed in #694

Co-authored-by: devbordecraft <devbordecraft>
2021-09-01 01:47:11 +00:00
bors[bot]
a27048cece
Merge #705
705: Handle Results of waiting for timelocks to expire r=rishflab a=da-kami

Fixes an issue where the CLI is transitioning into a `CancelTimelockExpired` state but the timelock is actually not expired yet. 
This happened because watching for confirmations errored and the error was not handled but the same behaviour as reaching the cancel timelock height was applied.

For now this PR will fail the execution in case of the block height watching logic failing. Eventually there should be a more resilient strategy that includes retries. 

Co-authored-by: Daniel Karzel <daniel@comit.network>
Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-01 00:11:29 +00:00
devbordecraft
e8a6af1517 Allow withdrawing and viewing of the bitcoin balance on swap-cli
Fix formatting issue

Fix after review
2021-08-31 20:42:28 +02:00
rishflab
af50c655ae Remove timeout on send encrypted signature
Bob was timing out if the encrypted signature could not be sent in 60
seconds. This behaviour is unnecessary because we are racing against
the cancel timelock anyway. By timing out before this, we remove the
opportunity for bob and alice to re-establish a connection.
2021-08-31 18:26:03 +10:00
rishflab
8598bcade1 Configure electrum client to retry 5 times 2021-08-31 18:26:03 +10:00
Daniel Karzel
18faa786d6 Fail if something goes wrong when checking tx lock status
Probably a failure when interacting with the electrum node to get script
 status updates
2021-08-31 18:26:00 +10:00
bors[bot]
9d11cbb90d
Merge #657
657: Load wallet in monero-wallet-rpc on demand if necessary r=thomaseizinger a=thomaseizinger

cc `@sethsimmons`

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2021-08-26 23:40:00 +00:00
Thomas Eizinger
25b123d6ed
Load wallet in monero-wallet-rpc on demand if necessary
Previously, we relied on the wallet in the `monero-wallet-rpc` daemon
to be loaded as we do on startup. As a consequence of this expectation,
restarting `monero-wallet-rpc` to fix bugs like #652 resulted in the
ASB no longer operating correctly.

To fix this, we now load the wallet on-demand in case the daemon responds
with the error code -13.

Ideally, we would implement this behaviour generically using the proxy
pattern on the `MoneroWalletRpc` trait. Unfortunately, when attempting
to do so we uncover a limitation in the design of `jsonrpc_client`.
This limitation is tracked in https://github.com/thomaseizinger/rust-jsonrpc-client/issues/47.
Once fixed, we can implement this logic in a more robust way that is not
tied to the `check_tx_key` RPC call but applies to any RPC call automatically.
2021-08-27 09:39:29 +10:00
Thomas Eizinger
c04d2dc944
Merge two CHANGED sections in old changelog entry 2021-08-26 23:24:47 +10:00
bors[bot]
ece248cb04
Merge #681
681: Move "Lost connection" log line from WARN to Debug r=thomaseizinger a=sethsimmons

Per #660, moving the log line on a peer closing connection outside of a swap to DEBUG instead of WARN, as there is no action that can be taken by the ASB owner.

Fixes #660.

Co-authored-by: Seth Simmons <sethsimmons@protonmail.com>
2021-08-24 21:40:03 +00:00
Seth Simmons
e3b231f045
Move "Lost connection" log line from WARN to Debug
Per #660, moving the log line on a peer closing connection outside of a swap to DEBUG instead of WARN, as there is no action that can be taken by the ASB owner.
2021-08-24 13:55:56 +00:00
dependabot[bot]
d125e28bb5
Bump serde_cbor from 0.11.1 to 0.11.2
Bumps [serde_cbor](https://github.com/pyfisch/cbor) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/pyfisch/cbor/releases)
- [Commits](https://github.com/pyfisch/cbor/compare/v0.11.1...v0.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-21 14:24:31 +00:00