Commit Graph

2642 Commits

Author SHA1 Message Date
rishflab
2c5e0c0323 Use sqlite in tests 2021-10-07 09:52:26 +11:00
rishflab
cdfc8419ad Implement human-readable serialization for monero private key
Some of the swap states were unable to be serialized using
serde_json because this was not implemented.
2021-10-07 09:51:47 +11:00
dependabot[bot]
06afe3d17d
Bump tracing from 0.1.27 to 0.1.29
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:08:45 +00:00
dependabot[bot]
0c4c716730
Bump tracing-subscriber from 0.2.20 to 0.2.25
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.20 to 0.2.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:08:32 +00:00
rishflab
8fb15ba7aa Init db after tracing 2021-10-06 08:22:55 +11:00
rishflab
f91d8ab45c Replace chrono with time lib 2021-10-06 08:22:55 +11:00
rishflab
394adb0a4f Add subcommand to print config
This subcommand has been introduced to make it easy for users to find
the location of the deprecated sled database in case they wish to delete
it. This feature should also resolve difficulties users were facing when
 trying to find where xmr-btc-swap was storing their data.
2021-10-06 08:22:55 +11:00
rishflab
05a28dc37a Add --sled flag to use deprecated sled db 2021-10-06 08:22:54 +11:00
rishflab
0f7876c107 Add auto-migration from sled to sqlite on startup 2021-10-06 08:22:54 +11:00
rishflab
a738c9df8a Remove multiple occurrences of db initialisation 2021-09-30 18:59:40 +10:00
rishflab
7efdb96a50 Add sqlite database implementation 2021-09-30 18:59:12 +10:00
rishflab
da9d09aa5e Create Database trait
Use domain types in database API to prevent leaking of database types.
This trait will allow us to smoothly introduce the sqlite database.
2021-09-30 18:56:52 +10:00
rishflab
a94c320021 Reorganise modules for multiple database implementations 2021-09-30 18:54:23 +10:00
dependabot[bot]
6a8c925a0b
Bump time from 0.3.2 to 0.3.3
Bumps [time](https://github.com/time-rs/time) from 0.3.2 to 0.3.3.
- [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.2...v0.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 11:07:34 +00:00
dependabot[bot]
68ea2c829b
Bump tokio from 1.8.0 to 1.12.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.0...tokio-1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 11:10:21 +00:00
bors[bot]
0e4891fcc0
Merge #771
771: Bump dprint/check from 1.5 to 2.0 r=rishflab a=dependabot[bot]

Bumps [dprint/check](https://github.com/dprint/check) from 1.5 to 2.0.
<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.0</h2>
<p>No release notes provided.</p>
<h2>v1.6</h2>
<p>Upgrades to dprint 0.17</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="22f4fe0ab3"><code>22f4fe0</code></a> chore: update README.md</li>
<li><a href="afcd0d0deb"><code>afcd0d0</code></a> feat: always use latest dprint version (<a href="https://github-redirect.dependabot.com/dprint/check/issues/5">#5</a>)</li>
<li><a href="c0bed7c846"><code>c0bed7c</code></a> chore: run the CI on pull requests</li>
<li><a href="f134765a04"><code>f134765</code></a> chore(release): Upgrade to dprint 0.17.0 (<a href="https://github-redirect.dependabot.com/dprint/check/issues/3">#3</a>)</li>
<li>See full diff in <a href="https://github.com/dprint/check/compare/v1.5...v2.0">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=1.5&new-version=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-16 14:54:56 +00:00
bors[bot]
89c35bdb61
Merge #753 #754 #764
753: Bump thiserror from 1.0.28 to 1.0.29 r=rishflab a=dependabot[bot]

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.28 to 1.0.29.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/thiserror/releases">thiserror's releases</a>.</em></p>
<blockquote>
<h2>1.0.29</h2>
<ul>
<li>
<p>Support error types containing generic type parameters (<a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/148">#148</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/149">#149</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/150">#150</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/151">#151</a>)</p>
<pre lang="rust"><code>use thiserror::Error;
<p>#[derive(Error, Debug)]
pub enum MyError&lt;E, F, G&gt; {
#[error(&quot;thing {0} ({0:?})&quot;)]
Variant(E),
#[error(&quot;some error&quot;)]
Delegate(#[source] SomeError&lt;F&gt;),
#[error(&quot;err 0o{val:o}&quot;)]
Octal { val: G },
}
</code></pre></p>
<p>In the above example, thiserror would automatically generate the following pair of generic trait impls.</p>
<pre lang="rust"><code>impl&lt;E, F, G&gt; std::error::Error for MyError&lt;E, F, G&gt;
where
    SomeError&lt;F&gt;: std::error::Error + 'static,
    Self: std::fmt::Debug + std::fmt::Display;
<p>impl&lt;E, F, G&gt; std::fmt::Display for MyError&lt;E, F, G&gt;
where
E: std::fmt::Debug + std::fmt::Display,
G: std::fmt::Octal;
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c7dd271dcd"><code>c7dd271</code></a> Release 1.0.29</li>
<li><a href="4b581e3fb9"><code>4b581e3</code></a> Skip a redundant Member clone</li>
<li><a href="19a15cb0c7"><code>19a15cb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/152">#152</a> from dtolnay/bounds</li>
<li><a href="f688fd7009"><code>f688fd7</code></a> Handle multiple bounds from the same format string on the same field</li>
<li><a href="113fcaa225"><code>113fcaa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/151">#151</a> from dtolnay/bounds</li>
<li><a href="72abba6f04"><code>72abba6</code></a> Deduplicate inferred bounds</li>
<li><a href="34f5931ada"><code>34f5931</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/150">#150</a> from dtolnay/bounds</li>
<li><a href="cc65053651"><code>cc65053</code></a> Implied bounds for the remaining std::fmt traits</li>
<li><a href="0a1c5bd7bb"><code>0a1c5bd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/149">#149</a> from dtolnay/bound</li>
<li><a href="3e699aa43b"><code>3e699aa</code></a> Implied bounds for transparent attribute</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.28&new-version=1.0.29)](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>

754: Bump serde_with from 1.9.4 to 1.10.0 r=rishflab a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.9.4 to 1.10.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.10.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add <code>BorrowCow</code> which instructs serde to borrow data during deserialization of <code>Cow&lt;'_, str&gt;</code>, <code>Cow&lt;'_, [u8]&gt;</code>, or <code>Cow&lt;'_, [u8; N]&gt;</code>. (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/347">#347</a>)
The implementation is for <a href="https://github-redirect.dependabot.com/serde-rs/serde/pull/2072#pullrequestreview-735511713">serde#2072</a> and <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2016">serde#2016</a>, about <code>#[serde(borrow)]</code> not working for <code>Option&lt;Cow&lt;'a, str&gt;&gt;</code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data&lt;'a&gt; {
    #[serde_as(as = &quot;Option&lt;[BorrowCow; 1]&gt;&quot;)]
    nested: Option&lt;[Cow&lt;'a, str&gt;; 1]&gt;,
}
</code></pre>
<p>The <code>#[serde(borrow)]</code> annotation is automatically added by the <code>#[serde_as]</code> attribute.</p>
</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Bump MSRV to 1.46, since the dev-dependency bitflags requires that version now.</li>
<li><code>flattened_maybe!</code> no longer requires the <code>serde_with</code> crate to be available with a specific name.
This allows renaming the crate or using <code>flattened_maybe!</code> through a re-export without any complications.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/blob/master/CHANGELOG.md">serde_with's changelog</a>.</em></p>
<blockquote>
<h2>[1.10.0] - 2021-09-04</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add <code>BorrowCow</code> which instructs serde to borrow data during deserialization of <code>Cow&lt;'_, str&gt;</code>, <code>Cow&lt;'_, [u8]&gt;</code>, or <code>Cow&lt;'_, [u8; N]&gt;</code>. (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/347">#347</a>)
The implementation is for <a href="https://github-redirect.dependabot.com/serde-rs/serde/pull/2072#pullrequestreview-735511713">serde#2072</a> and <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2016">serde#2016</a>, about <code>#[serde(borrow)]</code> not working for <code>Option&lt;Cow&lt;'a, str&gt;&gt;</code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data&lt;'a&gt; {
    #[serde_as(as = &quot;Option&lt;[BorrowCow; 1]&gt;&quot;)]
    nested: Option&lt;[Cow&lt;'a, str&gt;; 1]&gt;,
}
</code></pre>
<p>The <code>#[serde(borrow)]</code> annotation is automatically added by the <code>#[serde_as]</code> attribute.</p>
</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Bump MSRV to 1.46, since the dev-dependency bitflags requires that version now.</li>
<li><code>flattened_maybe!</code> no longer requires the <code>serde_with</code> crate to be available with a specific name.
This allows renaming the crate or using <code>flattened_maybe!</code> through a re-export without any complications.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4087080599"><code>4087080</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/358">#358</a></li>
<li><a href="ed3abe27a9"><code>ed3abe2</code></a> Release new versions</li>
<li><a href="b35bd81c3a"><code>b35bd81</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/356">#356</a></li>
<li><a href="9ebccbfa5a"><code>9ebccbf</code></a> Restructure the serde_as documentation</li>
<li><a href="fbb2ad6ecd"><code>fbb2ad6</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/357">#357</a></li>
<li><a href="522c58a543"><code>522c58a</code></a> <code>--test-threads 1</code> is broken on tarpaulin 0.18.1</li>
<li><a href="d1ccf6d998"><code>d1ccf6d</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/354">#354</a></li>
<li><a href="1c4982b3cf"><code>1c4982b</code></a> Update changelog</li>
<li><a href="011c778565"><code>011c778</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/353">#353</a></li>
<li><a href="50e23b1813"><code>50e23b1</code></a> Fix even more typos</li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.9.4...v1.10.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.9.4&new-version=1.10.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>

764: Bump sha2 from 0.9.6 to 0.9.8 r=rishflab a=dependabot[bot]

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.9.8.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a7431da030"><code>a7431da</code></a> release sha2 v0.9.8 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/318">#318</a>)</li>
<li><a href="93d895de72"><code>93d895d</code></a> sha2: Fix bug in the AVX2 backend (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/314">#314</a>)</li>
<li><a href="726e3c3978"><code>726e3c3</code></a> Release sha2 v0.9.7 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/313">#313</a>)</li>
<li><a href="efda00dd6b"><code>efda00d</code></a> Add x86 intrinsics support for sha2-512 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/312">#312</a>)</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8">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.6&new-version=0.9.8)](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-15 03:21:48 +00:00
bors[bot]
95405f54f0
Merge #772 #773
772: Bump sled from 0.34.6 to 0.34.7 r=rishflab a=dependabot[bot]

Bumps [sled](https://github.com/spacejam/sled) from 0.34.6 to 0.34.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spacejam/sled/releases">sled's releases</a>.</em></p>
<blockquote>
<h2>0.34.7</h2>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/spacejam/sled/issues/1314">#1314</a> Fix a bug in Subscriber's Future impl.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/spacejam/sled/blob/v0.34.7/CHANGELOG.md">sled's changelog</a>.</em></p>
<blockquote>
<h1>0.34.7</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/spacejam/sled/issues/1314">#1314</a> Fix a bug in Subscriber's Future impl.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d81865d07f"><code>d81865d</code></a> Cut 0.34.7</li>
<li><a href="1893ea4efc"><code>1893ea4</code></a> Bump dependencies</li>
<li><a href="9364ca685b"><code>9364ca6</code></a> Expand the store-pending pattern to Subscriber::next_timeout</li>
<li><a href="c8a31e383f"><code>c8a31e3</code></a> Follow <a href="https://github.com/rrichardson"><code>`@​rrichardson</code></a>'s` lead and only poll oneshots in one place</li>
<li><a href="7fdd90002f"><code>7fdd900</code></a> Store pending oneshot for subscriber future</li>
<li>See full diff in <a href="https://github.com/spacejam/sled/compare/v0.34.6...v0.34.7">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sled&package-manager=cargo&previous-version=0.34.6&new-version=0.34.7)](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>

773: Bump anyhow from 1.0.43 to 1.0.44 r=rishflab a=dependabot[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
<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.44</h2>
<ul>
<li>Mark error constructors cold to help LLVM optimize code paths not leading to error (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">#166</a>, thanks <a href="https://github.com/stepancheg"><code>`@​stepancheg</code></a>)</li>`
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6c97c59375"><code>6c97c59</code></a> Release 1.0.44</li>
<li><a href="447eff84b0"><code>447eff8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">#166</a> from stepancheg/cold</li>
<li><a href="fa9bcc0457"><code>fa9bcc0</code></a> Mark error constructors cold</li>
<li><a href="b3c5e25860"><code>b3c5e25</code></a> Mirror PR 162 from readme to rustdoc</li>
<li><a href="bec8204d5f"><code>bec8204</code></a> Reword PR 162</li>
<li><a href="4d3adef908"><code>4d3adef</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/162">#162</a> from ArekPiekarz/readme-backtrace</li>
<li><a href="b45d6490c4"><code>b45d649</code></a> Ignore unhelpful Clippy lint in build script</li>
<li><a href="58b873a3cd"><code>58b873a</code></a> Add to README using backtraces on stable channel</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44">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.43&new-version=1.0.44)](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-15 02:59:05 +00:00
dependabot[bot]
0912c35208
Bump rust_decimal_macros from 1.15.0 to 1.16.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases)
- [Commits](https://github.com/paupino/rust-decimal/commits)

---
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-15 02:27:38 +00:00
bors[bot]
2a3a80e9dc
Merge #775
775: Bump tracing from 0.1.26 to 0.1.27 r=rishflab a=dependabot[bot]

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing's releases</a>.</em></p>
<blockquote>
<h2>tracing 0.1.27</h2>
<p>This release adds a new <a href="https://docs.rs/tracing/0.1.27/tracing/struct.Span.html#method.or_current"><code>Span::or_current</code></a> method to aid in
efficiently propagating span contexts to spawned threads or tasks.
Additionally, it updates the <a href="https://crates.io/crates/tracing-core"><code>tracing-core</code></a> version to <a href="https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.20">0.1.20</a> and
the <a href="https://crates.io/crates/tracing-attributes"><code>tracing-attributes</code></a> version to <a href="https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.16">0.1.16</a>, ensuring that a number
of new features in those crates are present.</p>
<h3>Fixed</h3>
<ul>
<li><strong>instrument</strong>: Added missing <code>WithSubscriber</code> implementations for
futures and other types (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1424">#1424</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li><code>Span::or_current</code> method, to help with efficient span context
propagation (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1538">#1538</a>)</li>
<li><strong>attributes</strong>: add <code>skip_all</code> option to <code>#[instrument]</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1548">#1548</a>)</li>
<li><strong>attributes</strong>: record primitive types as primitive values rather than
as <code>fmt::Debug</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1378">#1378</a>)</li>
<li><strong>core</strong>: <code>NoSubscriber</code>, a no-op <code>Subscriber</code> implementation
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1549">#1549</a>)</li>
<li><strong>core</strong>: Added <code>Visit::record_f64</code> and support for recording
floating-point values (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1507">#1507</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1522">#1522</a>)</li>
<li>A large number of documentation improvements and fixes (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1369">#1369</a>,
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1398">#1398</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1435">#1435</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1442">#1442</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1524">#1524</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1556">#1556</a>)</li>
</ul>
<p>Thanks to new contributors <a href="https://github.com/dzvon"><code>`@​dzvon</code></a>` and <a href="https://github.com/mbergkvist"><code>`@​mbergkvist</code></a>,` as well as <a href="https://github.com/teozkr"><code>`@​teozkr</code></a>,`
<a href="https://github.com/maxburke"><code>`@​maxburke</code></a>,` <a href="https://github.com/LukeMathWalker"><code>`@​LukeMathWalker</code></a>,` and <a href="https://github.com/jsgf"><code>`@​jsgf</code></a>,` for contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c24621f22f"><code>c24621f</code></a> tracing: prepare to release v0.1.27  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1561">#1561</a>)</li>
<li><a href="47036aa61d"><code>47036aa</code></a> attributes: prepare to release v0.1.16 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1560">#1560</a>)</li>
<li><a href="00ffaee5c9"><code>00ffaee</code></a> subscriber: prepare to release 0.2.22 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1559">#1559</a>)</li>
<li><a href="2a329ec3ab"><code>2a329ec</code></a> chore: docs and tests cleanups(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1556">#1556</a>)</li>
<li><a href="6df3fd14df"><code>6df3fd1</code></a> subscriber: fix <code>filter::ParseError</code> accidentally being renamed (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1558">#1558</a>)</li>
<li><a href="47f1cd2bdb"><code>47f1cd2</code></a> subscriber: prepare to release v0.2.21 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1555">#1555</a>)</li>
<li><a href="c4b0058d9b"><code>c4b0058</code></a> core: prepare to release 0.1.20 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1554">#1554</a>)</li>
<li><a href="cdb7115e22"><code>cdb7115</code></a> subscriber: add more cross-references to documentation (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1553">#1553</a>)</li>
<li><a href="78036a5a84"><code>78036a5</code></a> subscriber: add <code>Targets</code> filter, a lighter-weight <code>EnvFilter </code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1550">#1550</a>)</li>
<li><a href="665170ddc3"><code>665170d</code></a> attributes: add <code>skip_all</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1548">#1548</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing&package-manager=cargo&previous-version=0.1.26&new-version=0.1.27)](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-15 02:04:21 +00:00
dependabot[bot]
edfe415bee
Bump tracing from 0.1.26 to 0.1.27
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 11:08:48 +00:00
dependabot[bot]
f2371582fc
Bump anyhow from 1.0.43 to 1.0.44
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:08:24 +00:00
dependabot[bot]
5818a7105b
Bump sled from 0.34.6 to 0.34.7
Bumps [sled](https://github.com/spacejam/sled) from 0.34.6 to 0.34.7.
- [Release notes](https://github.com/spacejam/sled/releases)
- [Changelog](https://github.com/spacejam/sled/blob/v0.34.7/CHANGELOG.md)
- [Commits](https://github.com/spacejam/sled/compare/v0.34.6...v0.34.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:08:04 +00:00
dependabot[bot]
9acb3f2d5b
Bump dprint/check from 1.5 to 2.0
Bumps [dprint/check](https://github.com/dprint/check) from 1.5 to 2.0.
- [Release notes](https://github.com/dprint/check/releases)
- [Commits](https://github.com/dprint/check/compare/v1.5...v2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:07:09 +00:00
bors[bot]
e860c051d3
Merge #769
769: Change message log level to debug to allow enabling through flag r=rishflab a=rishflab

We do not have a way to enable tracing through a command line
argument so it did not make sense to have these messages set to
trace. Ideally a trace flag should be added but it is not that
straightforward with structopt. We could add a --log-level arg
that allows you select a log level but this is verbose.

Closes #759


Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-11 23:04:34 +00:00
bors[bot]
906ad9b283
Merge #765
765: Enable log timestamps using explicit command line flag r=rishflab a=rishflab

https://github.com/comit-network/xmr-btc-swap/discussions/760

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-11 22:41:38 +00:00
rishflab
3ba1ed2bcb Change message log level to debug to allow enabling through flag
We do not have a way to enable tracing through a command line
argument so it did not make sense to have these messages set to
trace. Ideally a trace flag should be added but it is not that
straightforward with structopt. We could add a --log-level arg
that allows you select a log level but this is verbose.
2021-09-11 22:17:32 +10:00
rishflab
ee6524a75f Timestamp logs by default on the ASB
Disable timestamps using the command line flag
2021-09-11 21:57:07 +10:00
rishflab
e380052610 Split monolithic unit test into separate unit tests per assertion 2021-09-10 15:12:54 +10:00
rishflab
679b155db1 Enable log timestamps using explicit command line flag
Previously logs were only timestamped when the ASB was run in an
interactive terminal or if the logs were output as JSON. JSON logs and
ASB output in an interactive terminal are no longer timestamped by
default.
2021-09-09 21:42:07 +10:00
rishflab
19836a1051 Rename variables to match struct fields 2021-09-09 21:41:26 +10:00
dependabot[bot]
6b38d1a917
Bump sha2 from 0.9.6 to 0.9.8
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8)

---
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-09 11:09:24 +00:00
bors[bot]
1a2b42ccd1
Merge #721
721: Make --force the default behaviour for manual recovery r=rishflab a=rishflab

Also removed the --force flag

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-09 10:46:29 +00:00
rishflab
110a5d2229 Inform user if cancel tx is has already been published
Alice and Bob can both submit cancel. A scenario exists where one of
them may try and manually cancel but the other party has already
published cancel. Log a message to notify the user this has happened.
Add reusable function to check error for bitcoin rpc error code
2021-09-09 18:08:18 +10:00
rishflab
f511ff093c Make --force the default behaviour for manual recovery
Remove the force flag. There is a resume command that tries to
gracefully restarts the protocol and tries to execute the happy path.
Remove e2e tests which test the --force flag.
2021-09-09 18:08:18 +10:00
bors[bot]
7be6bcd4f5
Merge #763
763: Move "swap started" UI message after swap confirmed with ASB r=rishflab a=rishflab

The "swap started" message was being too early, before the ASB had
confirmed they could perform the swap. This was leading to a confusing
scenario where the UI incorrectly indicated to the user that the swap
had started. Users were trying to resume or refund the swaps but there
was no swap id in the db. Moving this message after the swap setup
should resolve this problem. Closes #756, #729, #560.

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-09 07:20:44 +00:00
rishflab
0afe83e4e8 Move "swap started" UI message after swap confirmed with ASB
The "swap started" message was being too early, before the ASB had
confirmed they could perform the swap. This was leading to a confusing
scenario where the UI incorrectly indicated to the user that the swap
had started. Users were trying to resume or refund the swaps but there
was no swap id in the db. Moving this message after the swap setup
should resolve this problem. Closes #756, #729, #560.
2021-09-09 16:58:17 +10:00
rishflab
54061f941b Remove empty files 2021-09-07 12:24:35 +10:00
dependabot[bot]
cd50702c23
Bump serde_with from 1.9.4 to 1.10.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.9.4 to 1.10.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Changelog](https://github.com/jonasbb/serde_with/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonasbb/serde_with/compare/v1.9.4...v1.10.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>
2021-09-06 07:48:42 +00:00
dependabot[bot]
0ef09f04f5
Bump thiserror from 1.0.28 to 1.0.29
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29)

---
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-06 07:48:24 +00:00
bors[bot]
413a2d37aa
Merge #732
732: Ignore bitcoin dependency for dependabot r=thomaseizinger a=thomaseizinger



Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2021-09-06 07:33:08 +00:00
Thomas Eizinger
0e4d5fa47e
Ignore bitcoin dependency for dependabot 2021-09-06 17:20:48 +10:00
bors[bot]
3bb76511fc
Merge #725
725: Add note to readme that --testnet swaps on monero stagenet r=rishflab a=rishflab

Remake of #708 

Co-authored-by: jerzybrzoska <51721153+jerzybrzoska@users.noreply.github.com>
2021-09-06 05:01:19 +00:00
bors[bot]
c22a84d20f
Merge #736
736: Update bug report issue template r=rishflab a=rishflab



Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-05 00:29:33 +00:00
bors[bot]
2fcf44399a
Merge #749
749: Bump tokio-util from 0.6.7 to 0.6.8 r=thomaseizinger a=dependabot[bot]

Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.6.7 to 0.6.8.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/tokio-rs/tokio/commits">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.6.7&new-version=0.6.8)](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-04 07:00:08 +00:00
rishflab
a692d35471 Update bug report issue template 2021-09-04 13:07:00 +10:00
dependabot[bot]
7da45898a0
Bump tokio-util from 0.6.7 to 0.6.8
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-04 02:07:19 +00:00
bors[bot]
29fd9ad8af
Merge #737 #745 #746 #747
737: Limit the number of open dependabot to 10 instead of 5 r=thomaseizinger a=thomaseizinger

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.

745: Bump structopt from 0.3.22 to 0.3.23 r=thomaseizinger a=dependabot[bot]

Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.22 to 0.3.23.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md">structopt's changelog</a>.</em></p>
<blockquote>
<h1>v0.3.23 (2021-08-30)</h1>
<ul>
<li>Update minimal rust version to 1.46 because of bitflags 1.3</li>
<li>Fixed <a href="https://github-redirect.dependabot.com/TeXitoi/structopt/issues/490">a bug that occurs when the type of <code>map</code> becomes ambiguous</a>.</li>
<li>Add support for <a href="https://github-redirect.dependabot.com/TeXitoi/structopt/issues/493">skip for enum variant subcommands</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="88e5402df0"><code>88e5402</code></a> v0.3.23</li>
<li><a href="6d922d1057"><code>6d922d1</code></a> Add skip attribute support for enum variants (<a href="https://github-redirect.dependabot.com/TeXitoi/structopt/issues/494">#494</a>)</li>
<li><a href="7fef417544"><code>7fef417</code></a> Fix the problem where the build fails due to the ambiguous type of <code>map</code> (<a href="https://github-redirect.dependabot.com/TeXitoi/structopt/issues/491">#491</a>)</li>
<li><a href="4a31aae916"><code>4a31aae</code></a> Bump MSRV to 1.46 because of bitflags 1.3</li>
<li><a href="4b09bd7cf0"><code>4b09bd7</code></a> correct example</li>
<li><a href="171bc1dfef"><code>171bc1d</code></a> fix test on new stable</li>
<li><a href="9004565bae"><code>9004565</code></a> fix for rust 1.36</li>
<li><a href="7ad03a0235"><code>7ad03a0</code></a> cargo fmt</li>
<li><a href="da9ac170f6"><code>da9ac17</code></a> Migrate to travis-ci.com</li>
<li><a href="14589f1ef8"><code>14589f1</code></a> Fix warnings.</li>
<li>Additional commits viewable in <a href="https://github.com/TeXitoi/structopt/compare/v0.3.22...v0.3.23">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=structopt&package-manager=cargo&previous-version=0.3.22&new-version=0.3.23)](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>

746: Bump jsonrpc_client from 0.7.0 to 0.7.1 r=thomaseizinger a=dependabot[bot]

Bumps [jsonrpc_client](https://github.com/thomaseizinger/rust-jsonrpc-client) from 0.7.0 to 0.7.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/thomaseizinger/rust-jsonrpc-client/releases">jsonrpc_client's releases</a>.</em></p>
<blockquote>
<h2>0.7.1</h2>
<h3>Added</h3>
<ul>
<li><code>Request</code> now omits <code>params</code> from serialization when empty for version 2.0 jsonrpm calls as defined <a href="https://www.jsonrpc.org/specification#request_object">here</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/thomaseizinger/rust-jsonrpc-client/blob/master/CHANGELOG.md">jsonrpc_client's changelog</a>.</em></p>
<blockquote>
<h2>[0.7.1] - 2021-08-26</h2>
<h3>Added</h3>
<ul>
<li><code>Request</code> now omits <code>params</code> from serialization when empty for version 2.0 jsonrpm calls as defined <a href="https://www.jsonrpc.org/specification#request_object">here</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ae9754fad8"><code>ae9754f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/thomaseizinger/rust-jsonrpc-client/issues/49">#49</a> from thomaseizinger/release/0.7.1</li>
<li><a href="e8d8225389"><code>e8d8225</code></a> Prepare release 0.7.1</li>
<li><a href="935d002df4"><code>935d002</code></a> Omit empty params in v2 request object (<a href="https://github-redirect.dependabot.com/thomaseizinger/rust-jsonrpc-client/issues/46">#46</a>)</li>
<li><a href="dbc34ac7be"><code>dbc34ac</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/thomaseizinger/rust-jsonrpc-client/issues/48">#48</a> from thomaseizinger/fix-tests</li>
<li><a href="08e7e0ff9e"><code>08e7e0f</code></a> Fix trybuild tests</li>
<li>See full diff in <a href="https://github.com/thomaseizinger/rust-jsonrpc-client/compare/0.7.0...0.7.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jsonrpc_client&package-manager=cargo&previous-version=0.7.0&new-version=0.7.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>

747: Bump vergen from 5.1.13 to 5.1.15 r=thomaseizinger a=dependabot[bot]

Bumps [vergen](https://github.com/rustyhorde/vergen) from 5.1.13 to 5.1.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rustyhorde/vergen/releases">vergen's releases</a>.</em></p>
<blockquote>
<h2>v5.1.15</h2>
<ul>
<li>Pinned <code>sysinfo</code> to 0.19 to avoid 1.54 minimum supported version of Rust stable for now.</li>
<li>Updated lints to latest for development.</li>
</ul>
<h2>v5.1.14</h2>
<ul>
<li>Documentation update.</li>
<li>Updated the lints matrix for development, no functional impact.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a52243b523"><code>a52243b</code></a> README.md update, version bump for next release</li>
<li><a href="dbadbc408e"><code>dbadbc4</code></a> pin sysinfo to 0.19 to avoid msrv 1.54 for now (<a href="https://github-redirect.dependabot.com/rustyhorde/vergen/issues/88">#88</a>)</li>
<li><a href="925414e5db"><code>925414e</code></a> version bump for next release</li>
<li><a href="154d7bba21"><code>154d7bb</code></a> Updated lints (<a href="https://github-redirect.dependabot.com/rustyhorde/vergen/issues/85">#85</a>)</li>
<li><a href="44e51366d8"><code>44e5136</code></a> fix little confusing build.rs in documentation comment (<a href="https://github-redirect.dependabot.com/rustyhorde/vergen/issues/84">#84</a>)</li>
<li>See full diff in <a href="https://github.com/rustyhorde/vergen/compare/5.1.13...5.1.15">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vergen&package-manager=cargo&previous-version=5.1.13&new-version=5.1.15)](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: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-04 02:06:21 +00:00
bors[bot]
37881c40b5
Merge #748
748: Bump hyper from 0.14.11 to 0.14.12 r=thomaseizinger a=dependabot[bot]

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.11 to 0.14.12.
<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.12</h2>
<h2>Bug Fixes</h2>
<ul>
<li><strong>ffi:</strong> on_informational callback had no headers (<a href="39b6d01aa0">39b6d01a</a>)</li>
<li><strong>http1:</strong> apply header title case for consecutive dashes (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2613">#2613</a>) (<a href="684f2fa76d">684f2fa7</a>)</li>
<li><strong>http2:</strong> improve errors emitted by HTTP2 <code>Upgraded</code> stream shutdown (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2622">#2622</a>) (<a href="be08648e82">be08648e</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>client:</strong> expose http09 and http1 options on <code>client::conn::Builder</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2611">#2611</a>) (<a href="73bff4e98c">73bff4e9</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2461">#2461</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's changelog</a>.</em></p>
<blockquote>
<h3>v0.14.12 (2021-08-24)</h3>
<h4>Bug Fixes</h4>
<ul>
<li><strong>ffi:</strong> on_informational callback had no headers (<a href="39b6d01aa0">39b6d01a</a>)</li>
<li><strong>http1:</strong> apply header title case for consecutive dashes (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2613">#2613</a>) (<a href="684f2fa76d">684f2fa7</a>)</li>
<li><strong>http2:</strong> improve errors emitted by HTTP2 <code>Upgraded</code> stream shutdown (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2622">#2622</a>) (<a href="be08648e82">be08648e</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>client:</strong> expose http09 and http1 options on <code>client::conn::Builder</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2611">#2611</a>) (<a href="73bff4e98c">73bff4e9</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2461">#2461</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f46b175bf7"><code>f46b175</code></a> v0.14.12</li>
<li><a href="39b6d01aa0"><code>39b6d01</code></a> fix(ffi): on_informational callback had no headers</li>
<li><a href="adaa8b3f0e"><code>adaa8b3</code></a> chore(dependencies): require httparse 1.5.1</li>
<li><a href="95a978344c"><code>95a9783</code></a> refactor(http1): use MaybeUninit for parsing with uninitialized headers (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2545">#2545</a>)</li>
<li><a href="be08648e82"><code>be08648</code></a> fix(http2): improve errors emitted by HTTP2 <code>Upgraded</code> stream shutdown (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2622">#2622</a>)</li>
<li><a href="9a113ed416"><code>9a113ed</code></a> docs(capi): fix typo in the upload example build (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2626">#2626</a>)</li>
<li><a href="a1995ee1cb"><code>a1995ee</code></a> docs(capi): build 'upload' example too by default (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2625">#2625</a>)</li>
<li><a href="3b26572876"><code>3b26572</code></a> refactor(ffi): check pointer arguments for NULL (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2624">#2624</a>)</li>
<li><a href="c35153998e"><code>c351539</code></a> docs(capi): output the hyper_version in the capi examples (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2623">#2623</a>)</li>
<li><a href="684f2fa76d"><code>684f2fa</code></a> fix(http1): apply header title case for consecutive dashes (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2613">#2613</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v0.14.11...v0.14.12">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.11&new-version=0.14.12)](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-04 01:48:07 +00:00
dependabot[bot]
d7a0137de4
Bump hyper from 0.14.11 to 0.14.12
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.11 to 0.14.12.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.11...v0.14.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 15:43:40 +00:00