Commit Graph

725 Commits

Author SHA1 Message Date
Yuri Astrakhan
0aa6bd73fc bump deps, minor CI cleanup 2024-02-07 15:30:30 -05:00
Yuri Astrakhan
b4dd29d5ba justfile improvement and deps 2024-02-05 21:49:36 -05:00
Yuri Astrakhan
35d8e25703
upgrade to pmtiles v0.7.0 (#1173)
remove reqwest deps, and use the reexport
2024-02-05 19:26:38 +00:00
Yuri Astrakhan
044fa731d3 bump lock 2024-02-01 23:03:28 -05:00
Josh Lee
9f9f18163c
Add AWS Lambda support (#1127)
This adds the lambda-web crate to adapt the actix App to speak to Lambda
by way of the lambda_runtime crate.

AWS Lambda has native support for scripting languages to
execute a function directly; compiled languages must embed a runtime to
fetch incoming events from Lambda and post the responses. This detects
the environment variables to start up in Lambda mode instead of the
normal HTTP server, and is added as an optional feature.

Lambda has five (!) distinct ways of routing HTTP requests to a
function; this supports some of them. (Specifically, the most obvious
way to do this is with a Function URL, which is newest and simplest, and
perhaps with CloudFront, which speaks to the Function URL and not Lambda
directly.)

The error handling could probably be refined, I was just trying to get
this to compile.

(Supported: API Gateway HTTP API with payload format version 2.0; API
Gateway REST API; Lambda function URLs / Not supported: API Gateway HTTP
API with payload format version 1.0; Application Load Balancer)

Necessary for #1102 to be able to run the released packages directly,
and only having to configure the appropriate environment.

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2024-02-01 18:56:40 +00:00
dependabot[bot]
3549d99b22
chore(deps): Bump reqwest from 0.11.23 to 0.11.24 (#1169)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.23 to
0.11.24.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/releases">reqwest's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.24</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>Certificate::from_pem_bundle()</code> to add a
bundle.</li>
<li>Add <code>http3_prior_knowledge()</code> to blocking client
builder.</li>
<li>Remove <code>Sync</code> bounds requirement for
<code>Body::wrap_stream()</code>.</li>
<li>Fix HTTP/2 to retry <code>REFUSED_STREAM</code> requests.</li>
<li>Fix instances of converting <code>Url</code> to <code>Uri</code>
that could panic.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/magurotuna"><code>@​magurotuna</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2081">seanmonstar/reqwest#2081</a></li>
<li><a
href="https://github.com/michaelciraci"><code>@​michaelciraci</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2102">seanmonstar/reqwest#2102</a></li>
<li><a
href="https://github.com/basic-bgnr"><code>@​basic-bgnr</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2110">seanmonstar/reqwest#2110</a></li>
<li><a href="https://github.com/jgraef"><code>@​jgraef</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2114">seanmonstar/reqwest#2114</a></li>
<li><a
href="https://github.com/LucasPickering"><code>@​LucasPickering</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2040">seanmonstar/reqwest#2040</a></li>
<li><a href="https://github.com/gibbz00"><code>@​gibbz00</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2032">seanmonstar/reqwest#2032</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24">https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md">reqwest's
changelog</a>.</em></p>
<blockquote>
<h2>v0.11.24</h2>
<ul>
<li>Add <code>Certificate::from_pem_bundle()</code> to add a
bundle.</li>
<li>Add <code>http3_prior_knowledge()</code> to blocking client
builder.</li>
<li>Remove <code>Sync</code> bounds requirement for
<code>Body::wrap_stream()</code>.</li>
<li>Fix HTTP/2 to retry <code>REFUSED_STREAM</code> requests.</li>
<li>Fix instances of converting <code>Url</code> to <code>Uri</code>
that could panic.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c9b4b654cb"><code>c9b4b65</code></a>
v0.11.24</li>
<li><a
href="ddf7f24dca"><code>ddf7f24</code></a>
Add Certificate::from_pem_bundle() (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2032">#2032</a>)</li>
<li><a
href="5d8443ddde"><code>5d8443d</code></a>
fix panic when parsing invalid Url to Uri (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2040">#2040</a>)</li>
<li><a
href="e3bf090066"><code>e3bf090</code></a>
docs: explain TLS backend features better (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2117">#2117</a>)</li>
<li><a
href="1bd939ba15"><code>1bd939b</code></a>
update wasm-streams dependency (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2114">#2114</a>)</li>
<li><a
href="87cdf12d3f"><code>87cdf12</code></a>
doc: clarify Cookie API usage (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2111">#2111</a>)</li>
<li><a
href="b3feff6bd8"><code>b3feff6</code></a>
Add http3 feature to blocking client (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2110">#2110</a>)</li>
<li><a
href="23329363c6"><code>2332936</code></a>
Update cookie crates (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2089">#2089</a>)</li>
<li><a
href="ef2c8ee50f"><code>ef2c8ee</code></a>
Upgrading env_logger dep (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2102">#2102</a>)</li>
<li><a
href="4ab5fb031c"><code>4ab5fb0</code></a>
Fix HTTP/2: retry requests rejected with <code>REFUSED_STREAM</code> (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2081">#2081</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 02:44:04 +00:00
Yuri Astrakhan
d444b57b47 bump lock file 2024-01-30 21:42:09 -05:00
Yuri Astrakhan
e540d465ae lock 2024-01-29 13:09:00 -05:00
dependabot[bot]
08d99ac8ff
chore(deps): Bump serde_json from 1.0.111 to 1.0.112 (#1159)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.111 to
1.0.112.
<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.112</h2>
<ul>
<li>Improve formatting of &quot;invalid type&quot; error messages
involving floats (<a
href="https://redirect.github.com/serde-rs/json/issues/1107">#1107</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7fece969e3"><code>7fece96</code></a>
Release 1.0.112</li>
<li><a
href="6a6d2bbd9e"><code>6a6d2bb</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1107">#1107</a>
from serde-rs/unexpectedfloat</li>
<li><a
href="83d7bad54b"><code>83d7bad</code></a>
Format f64 in error messages using ryu</li>
<li><a
href="107c2d1c42"><code>107c2d1</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1106">#1106</a>
from serde-rs/invalidvalue</li>
<li><a
href="62ca3e4c01"><code>62ca3e4</code></a>
Handle Unexpected::Unit in Error::invalid_value</li>
<li><a
href="296fafb8f3"><code>296fafb</code></a>
Factor out JSON-specific Display impl for serde:🇩🇪:Unexpected</li>
<li><a
href="e56cc696bd"><code>e56cc69</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1105">#1105</a>
from keienWang/master</li>
<li><a
href="2909b0bac6"><code>2909b0b</code></a>
fix: Correct spelling error</li>
<li><a
href="6d44b9fac9"><code>6d44b9f</code></a>
Ignore unconditional_recursion clippy lint due to false positive</li>
<li>See full diff in <a
href="https://github.com/serde-rs/json/compare/v1.0.111...v1.0.112">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.111&new-version=1.0.112)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 03:13:05 +00:00
dependabot[bot]
55b0b16fe5
chore(deps): Bump serde from 1.0.195 to 1.0.196 (#1160)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.195 to
1.0.196.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/serde-rs/serde/releases">serde's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.196</h2>
<ul>
<li>Improve formatting of &quot;invalid type&quot; error messages
involving floats (<a
href="https://redirect.github.com/serde-rs/serde/issues/2682">#2682</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ede9762a58"><code>ede9762</code></a>
Release 1.0.196</li>
<li><a
href="d438c2d67b"><code>d438c2d</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2682">#2682</a>
from dtolnay/decimalpoint</li>
<li><a
href="bef110b92a"><code>bef110b</code></a>
Format Unexpected::Float with decimal point</li>
<li><a
href="b971ef11d1"><code>b971ef1</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2681">#2681</a>
from dtolnay/workspacedeps</li>
<li><a
href="29d9f69399"><code>29d9f69</code></a>
Fix workspace.dependencies default-features future compat warning</li>
<li><a
href="aecb4083bd"><code>aecb408</code></a>
Sort workspace dependencies</li>
<li><a
href="1c675ab3a3"><code>1c675ab</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2678">#2678</a>
from rodoufu/workspaceDependencies</li>
<li><a
href="dd619630a3"><code>dd61963</code></a>
Adding workspace dependencies</li>
<li><a
href="111803ab07"><code>111803a</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2673">#2673</a>
from Sky9x/msrv-badge</li>
<li><a
href="0024f74f34"><code>0024f74</code></a>
Use shields.io's MSRV badges</li>
<li>See full diff in <a
href="https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 03:06:50 +00:00
dependabot[bot]
766c84b64a
chore(deps): Bump env_logger from 0.11.0 to 0.11.1 (#1157)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.0
to 0.11.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/releases">env_logger's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(fmt): Fix passing of WriteStyle when using Target::Pipe by <a
href="https://github.com/Bobo1239"><code>@​Bobo1239</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/302">rust-cli/env_logger#302</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Bobo1239"><code>@​Bobo1239</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/302">rust-cli/env_logger#302</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1">https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's
changelog</a>.</em></p>
<blockquote>
<h2>[0.11.1] - 2024-01-27</h2>
<h3>Fixes</h3>
<ul>
<li>Allow styling with <code>Target::Pipe</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7113ad4bd9"><code>7113ad4</code></a>
chore: Release</li>
<li><a
href="9f73bde4ba"><code>9f73bde</code></a>
docs: Update changelog</li>
<li><a
href="489ba1886a"><code>489ba18</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-cli/env_logger/issues/302">#302</a>
from Bobo1239/main</li>
<li><a
href="6f31706a18"><code>6f31706</code></a>
fix(fmt): Fix passing of WriteStyle when using Target::Pipe</li>
<li>See full diff in <a
href="https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 03:01:21 +00:00
dependabot[bot]
441454e411
chore(deps): Bump moka from 0.12.4 to 0.12.5 (#1158)
Bumps [moka](https://github.com/moka-rs/moka) from 0.12.4 to 0.12.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.12.5</h2>
<h3>Added</h3>
<ul>
<li>Added support for a plain LRU (Least Recently Used) eviction policy
(<a
href="https://redirect.github.com/moka-rs/moka/issues/390">#390</a>[gh-pull-0390]):
<ul>
<li>The LRU policy is enabled by calling the
<code>eviction_policy</code> method of the cache
builder with a policy obtained by <code>EvictionPolicy::lru</code>
function.</li>
<li>The default eviction policy remains the TinyLFU (Tiny, Least
Frequently Used)
as it maintains better hit rate than LRU for most use cases. TinyLFU
combines
LRU eviction policy and popularity-based admission policy. A
probabilistic data
structure is used to estimate historical popularity of both hit and
missed
keys. (not only the keys currently in the cache.)</li>
<li>However, some use cases may prefer LRU policy over TinyLFU. An
example is
recency biased workload such as streaming data processing. LRU policy
can be
used for them to achieve better hit rate.</li>
<li>Note that we are planning to add an adaptive eviction/admission
policy called
Window-TinyLFU in the future. It will adjust the balance between recency
and
frequency based on the current workload.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b5560df8c8"><code>b5560df</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/390">#390</a> from
moka-rs/lru-policy</li>
<li><a
href="27dd941d37"><code>27dd941</code></a>
Tweak some doc comments</li>
<li><a
href="afc8c6b6ac"><code>afc8c6b</code></a>
Update the change log</li>
<li><a
href="e11a6e1f07"><code>e11a6e1</code></a>
Bump the version to v0.12.5</li>
<li><a
href="8819287601"><code>8819287</code></a>
Fix typos in the doc</li>
<li><a
href="4ca1595a95"><code>4ca1595</code></a>
Update the change log</li>
<li><a
href="34cc03bcb0"><code>34cc03b</code></a>
Support the plain LRU policy</li>
<li><a
href="b32f05b3fb"><code>b32f05b</code></a>
Apply rustfmt</li>
<li><a
href="8ac62ed9c0"><code>8ac62ed</code></a>
Support the plain LRU policy</li>
<li>See full diff in <a
href="https://github.com/moka-rs/moka/compare/v0.12.4...v0.12.5">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 02:58:18 +00:00
Yuri Astrakhan
c4af48bba9 update lock 2024-01-26 14:02:17 -05:00
dependabot[bot]
10903d2d9a
chore(deps): Bump serde_with from 3.5.0 to 3.5.1 (#1152)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.5.0 to
3.5.1.
<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 v3.5.1</h2>
<h3>Fixed</h3>
<ul>
<li>The <code>serde_as</code> macro now better detects existing
<code>schemars</code> attributes on fields and incorporates them by <a
href="https://github.com/swlynch99"><code>@​swlynch99</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/682">#682</a>)
This avoids errors on existing <code>#[schemars(with = ...)]</code>
annotations.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="88e98795dc"><code>88e9879</code></a>
Merge pull request <a
href="https://redirect.github.com/jonasbb/serde_with/issues/682">#682</a>
from swlynch99/schemars-custom-with</li>
<li><a
href="1c9131ff64"><code>1c9131f</code></a>
Bump version to 3.5.1</li>
<li><a
href="bceb16e27f"><code>bceb16e</code></a>
Add changelog</li>
<li><a
href="215d77a5fe"><code>215d77a</code></a>
Use #[serde_as] from import without crate name</li>
<li><a
href="b2afd766b7"><code>b2afd76</code></a>
Extend the test with an always existing condition</li>
<li><a
href="c09f33b394"><code>c09f33b</code></a>
Avoid emitting a #[schemars] annotation when one already exists</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.5.0...v3.5.1">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=3.5.0&new-version=3.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 03:27:52 +00:00
dependabot[bot]
07eb6cf9d4
chore(deps): Bump moka from 0.12.3 to 0.12.4 (#1151)
Bumps [moka](https://github.com/moka-rs/moka) from 0.12.3 to 0.12.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.12.4</h2>
<h3>Fixed</h3>
<ul>
<li>Ensure <code>crossbeam-epoch</code> to run GC when dropping a cache
(<a
href="https://redirect.github.com/moka-rs/moka/issues/384">#384</a>[gh-pull-0384]):
<ul>
<li><code>crossbeam-epoch</code> crate provides an epoch-based memory
reclamation scheme for
concurrent data structures. It is used by Moka cache to safely drop
cached
entries while they are still being accessed by other threads.</li>
<li><code>crossbeam-epoch</code> does the best to reclaim memory (drop
the entries evicted
from the cache) when the epoch is advanced. However, it does not
guarantee that
memory will be reclaimed immediately after the epoch is advanced. This
means
that entries can remain in the memory for a while after the cache is
dropped.</li>
<li>This fix ensures that, when a cache is dropped, the epoch is
advanced and
<code>crossbeam-epoch</code>'s thread local buffers are flushed, helping
to reclaim memory
immediately.</li>
<li>Note that there are still chances that some entries remain in the
memory for a
while after a cache is dropped. We are looking for alternatives to
<code>crossbeam-epoch</code> to improve this situation (e.g. <a
href="https://redirect.github.com/moka-rs/moka/issues/385">#385</a>[gh-issue-0385]).</li>
</ul>
</li>
</ul>
<h3>Added</h3>
<ul>
<li>Added an example for reinserting expired entries to the cache.
(<a
href="https://redirect.github.com/moka-rs/moka/issues/382">#382</a>[gh-pull-0382])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2e904db29b"><code>2e904db</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/386">#386</a> from
moka-rs/prepare-0.12.4</li>
<li><a
href="a8bace71a0"><code>a8bace7</code></a>
Update the version in some doc comments</li>
<li><a
href="1c1d32e5e6"><code>1c1d32e</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/387">#387</a> from
moka-rs/stabilize-flaky-drop-cache-test</li>
<li><a
href="865c68098c"><code>865c680</code></a>
CI: Stabilize <code>ensure_gc_runs_when_dropping_cache</code> test for
<code>sync::Cache</code></li>
<li><a
href="22a994463a"><code>22a9944</code></a>
CI: Stabilize <code>ensure_gc_runs_when_dropping_cache</code> test for
<code>sync::Cache</code></li>
<li><a
href="8439fb9d2e"><code>8439fb9</code></a>
Update the change log</li>
<li><a
href="521193a2ab"><code>521193a</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/382">#382</a> from
moka-rs/reinsert-example</li>
<li><a
href="46c5f113a5"><code>46c5f11</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li><a
href="81477d7735"><code>81477d7</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li><a
href="b3fa860db7"><code>b3fa860</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li>Additional commits viewable in <a
href="https://github.com/moka-rs/moka/compare/v0.12.3...v0.12.4">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 02:43:54 +00:00
dependabot[bot]
092d52bf87
chore(deps): Bump regex from 1.10.2 to 1.10.3 (#1148)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.2 to 1.10.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.10.3 (2024-01-21)</h1>
<p>This is a new patch release that fixes the feature configuration of
optional
dependencies, and fixes an unsound use of bounds check elision.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/1147">#1147</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/1147">rust-lang/regex#1147</a>):
Set <code>default-features=false</code> for the <code>memchr</code> and
<code>aho-corasick</code> dependencies.</li>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/1154">#1154</a>](<a
href="https://redirect.github.com/rust-lang/regex/pull/1154">rust-lang/regex#1154</a>):
Fix unsound bounds check elision.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0c09903992"><code>0c09903</code></a>
1.10.3</li>
<li><a
href="653bb59996"><code>653bb59</code></a>
deps: bump regex-automata to 0.4.4</li>
<li><a
href="e7b5401f6a"><code>e7b5401</code></a>
regex-automata-0.4.4</li>
<li><a
href="1bc667d7b3"><code>1bc667d</code></a>
changelog: 1.10.3</li>
<li><a
href="fbd2537a58"><code>fbd2537</code></a>
safety: guard in Input::new against incorrect AsRef implementations</li>
<li><a
href="027eebd6fd"><code>027eebd</code></a>
cargo: set 'default-features = false' for memchr and aho-corasick</li>
<li><a
href="dc0a9d239c"><code>dc0a9d2</code></a>
ci: small clean-ups</li>
<li><a
href="a3d5975c35"><code>a3d5975</code></a>
doc: fix link in Index&lt;&amp;str&gt; impl docs</li>
<li><a
href="4f5992fa44"><code>4f5992f</code></a>
doc: tweak <code>Captures</code> documentation</li>
<li><a
href="837fd85e79"><code>837fd85</code></a>
regex-cli-0.2.0</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.10.2...1.10.3">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 03:10:22 +00:00
Yuri Astrakhan
7c75a6dee6 Bump dependencies 2024-01-20 19:52:09 -05:00
dependabot[bot]
4426eb34c9
chore(deps): Bump h2 from 0.3.23 to 0.3.24 (#1146)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.23 to 0.3.24.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/h2/releases">h2's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.24</h2>
<h2>Fixed</h2>
<ul>
<li>Limit error resets for misbehaving connections.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md">h2's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.24 (January 17, 2024)</h1>
<ul>
<li>Limit error resets for misbehaving connections.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7243ab5854"><code>7243ab5</code></a>
Prepare v0.3.24</li>
<li><a
href="d919cd6fd8"><code>d919cd6</code></a>
streams: limit error resets for misbehaving connections</li>
<li>See full diff in <a
href="https://github.com/hyperium/h2/compare/v0.3.23...v0.3.24">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/martin/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 19:00:52 +00:00
dependabot[bot]
f271f68fd6
chore(deps): Bump tokio-postgres-rustls from 0.11.0 to 0.11.1 (#1141)
Bumps
[tokio-postgres-rustls](https://github.com/jbg/tokio-postgres-rustls)
from 0.11.0 to 0.11.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jbg/tokio-postgres-rustls/releases">tokio-postgres-rustls's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.1</h2>
<ul>
<li>Update <code>x509-certificate</code> to 0.23 to avoid pulling in
multiple versions of <code>ring</code>. Thanks <a
href="https://github.com/serprex"><code>@​serprex</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a588474bf0"><code>a588474</code></a>
Bump version to 0.11.1</li>
<li><a
href="f210aa24c4"><code>f210aa2</code></a>
Merge pull request <a
href="https://redirect.github.com/jbg/tokio-postgres-rustls/issues/18">#18</a>
from serprex/update-x509</li>
<li><a
href="91d9d03eea"><code>91d9d03</code></a>
Update x509-certificate from 0.21 to 0.23</li>
<li>See full diff in <a
href="https://github.com/jbg/tokio-postgres-rustls/compare/v0.11.0...v0.11.1">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 02:48:49 +00:00
dependabot[bot]
e516e6d04c
chore(deps): Bump env_logger from 0.10.1 to 0.10.2 (#1139)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1
to 0.10.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's
changelog</a>.</em></p>
<blockquote>
<h2>[0.10.2] - 2024-01-18</h2>
<h3>Performance</h3>
<ul>
<li>Avoid extra UTF-8 validation performed in some cases</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Ensure custom pipes/stdout get flushed</li>
<li>Don't panic on broken pipes when <code>color</code> is disabled</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7929b7fc3d"><code>7929b7f</code></a>
chore: Release env_logger version 0.10.2</li>
<li><a
href="3df552c315"><code>3df552c</code></a>
docs: Update changelog</li>
<li><a
href="6ec4104864"><code>6ec4104</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-cli/env_logger/issues/296">#296</a>
from epage/refactor</li>
<li><a
href="939687dd75"><code>939687d</code></a>
style: Make clippy happy</li>
<li><a
href="c088820ae8"><code>c088820</code></a>
fix(fmt): Ensure stream gets flushed</li>
<li><a
href="2b3f26fc29"><code>2b3f26f</code></a>
perf(fmt): Avoid UTF-8 validation</li>
<li><a
href="7428386da3"><code>7428386</code></a>
refactor(fmt): Pull out stream lookup from write</li>
<li><a
href="e8674a237b"><code>e8674a2</code></a>
refactor(fmt): Consolidate target printing</li>
<li><a
href="f5f3392886"><code>f5f3392</code></a>
refactor(fmt): Pull is_test into the target</li>
<li><a
href="87008fdf78"><code>87008fd</code></a>
fix(fmt): Don't panic on broken pipes without termcolor</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 02:31:58 +00:00
Yuri Astrakhan
b832bb22f4
Upgrade to Rustls 0.22 (#1136)
Fix #1036
2024-01-17 01:42:11 +00:00
Yuri Astrakhan
b875811f5f bump lock 2024-01-16 18:43:08 -05:00
dependabot[bot]
a889207cc0
chore(deps): Bump clap from 4.4.16 to 4.4.17 (#1133)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.16 to 4.4.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.17</h2>
<h2>[4.4.17] - 2024-01-15</h2>
<h3>Fixes</h3>
<ul>
<li>Fix <code>panic!</code> when mixing
<code>args_conflicts_with_subcommands</code> with <code>ArgGroup</code>
(which is implicit with <code>derive</code>) introduced in 4.4.15</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.17] - 2024-01-15</h2>
<h3>Fixes</h3>
<ul>
<li>Fix <code>panic!</code> when mixing
<code>args_conflicts_with_subcommands</code> with <code>ArgGroup</code>
(which is implicit with <code>derive</code>) introduced in 4.4.15</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ef98da27cb"><code>ef98da2</code></a>
chore: Release</li>
<li><a
href="5801ce1937"><code>5801ce1</code></a>
docs: Update changelog</li>
<li><a
href="d1d88ae45b"><code>d1d88ae</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5306">#5306</a>
from epage/conflict</li>
<li><a
href="50c59f63bb"><code>50c59f6</code></a>
fix(parser): Don't panic with conflicts and groups</li>
<li>See full diff in <a
href="https://github.com/clap-rs/clap/compare/v4.4.16...v4.4.17">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 02:30:22 +00:00
Yuri Astrakhan
5c8aa8d91d lock 2024-01-12 00:22:57 -05:00
dependabot[bot]
4651c9c3b3
chore(deps): Bump clap from 4.4.14 to 4.4.15 (#1130)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.14 to 4.4.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.15</h2>
<h2>[4.4.15] - 2024-01-11</h2>
<h3>Fixes</h3>
<ul>
<li>Improve error for <code>args_conflicts_with_subcommands</code></li>
<li>Ensure we error for <code>args_conflicts_with_subcommands</code>
when using subcommand short and long flags</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.15] - 2024-01-11</h2>
<h3>Fixes</h3>
<ul>
<li>Improve error for <code>args_conflicts_with_subcommands</code></li>
<li>Ensure we error for <code>args_conflicts_with_subcommands</code>
when using subcommand short and long flags</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="12b5c39d46"><code>12b5c39</code></a>
chore: Release</li>
<li><a
href="1c5b63390b"><code>1c5b633</code></a>
docs: Update changelog</li>
<li><a
href="a5d46410e0"><code>a5d4641</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5298">#5298</a>
from epage/conflict</li>
<li><a
href="f529ec398c"><code>f529ec3</code></a>
fix(parser): Ensure subcommand flags can conflict</li>
<li><a
href="a7e04a53e4"><code>a7e04a5</code></a>
fix(parser): Improve subcommand conflict error</li>
<li><a
href="ea00ef3051"><code>ea00ef3</code></a>
refactor(error): Allow more conflict sources</li>
<li><a
href="e47d8a2a66"><code>e47d8a2</code></a>
refactor(parser): Clarify arg error</li>
<li><a
href="69c0509198"><code>69c0509</code></a>
test(parser): Verify conflicts with precedence</li>
<li><a
href="e2b18f199f"><code>e2b18f1</code></a>
test(parser): Show flag behavior</li>
<li><a
href="06bff1c955"><code>06bff1c</code></a>
test(parser): Check subcommands conflict with positionals</li>
<li>Additional commits viewable in <a
href="https://github.com/clap-rs/clap/compare/v4.4.14...v4.4.15">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 02:45:36 +00:00
Yuri Astrakhan
d7f95345bb update lock 2024-01-09 14:13:21 -05:00
dependabot[bot]
e389332ada
chore(deps): Bump clap from 4.4.13 to 4.4.14 (#1122)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.13 to 4.4.14.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.14</h2>
<h2>[4.4.14] - 2024-01-08</h2>
<h3>Documentation</h3>
<ul>
<li>Fix <code>find</code> cookbook entry to allow repeats of
flags/options</li>
</ul>
<h3>Features</h3>
<ul>
<li>Allow <code>num_args(0)</code> on options which allows making them
emulate being a flag for position-tracking flags</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.14] - 2024-01-08</h2>
<h3>Documentation</h3>
<ul>
<li>Fix <code>find</code> cookbook entry to allow repeats of
flags/options</li>
</ul>
<h3>Features</h3>
<ul>
<li>Allow <code>num_args(0)</code> on options which allows making them
emulate being a flag for position-tracking flags</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="514f28bc92"><code>514f28b</code></a>
chore: Release</li>
<li><a
href="1440456d3d"><code>1440456</code></a>
docs: Update changelog</li>
<li><a
href="d6479ff7dd"><code>d6479ff</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5290">#5290</a>
from epage/or</li>
<li><a
href="02f82146ad"><code>02f8214</code></a>
docs(cookbook): Clarify intent of fake flags</li>
<li><a
href="c603f34574"><code>c603f34</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5275">#5275</a>
from epage/ci</li>
<li><a
href="641b42b2e8"><code>641b42b</code></a>
chore(ci): Speed up critical path of CI</li>
<li><a
href="3eaf1af052"><code>3eaf1af</code></a>
fix(help): Correctly show help for fake flags</li>
<li><a
href="d63106b9f6"><code>d63106b</code></a>
docs(cookbook): Allow repeated operators</li>
<li><a
href="148e102ac3"><code>148e102</code></a>
fix(builder): Allow custom flag definitions</li>
<li><a
href="d53d881e33"><code>d53d881</code></a>
docs(cookbook): Demonstrate bad 'find' behavior</li>
<li>See full diff in <a
href="https://github.com/clap-rs/clap/compare/v4.4.13...v4.4.14">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 02:45:28 +00:00
Yuri Astrakhan
ec6c1590b7 lock file 2024-01-07 18:32:57 -05:00
dependabot[bot]
e33d1c9d14
chore(deps): Bump clap from 4.4.12 to 4.4.13 (#1117)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.12 to 4.4.13.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.13</h2>
<h2>[4.4.13] - 2024-01-04</h2>
<h3>Documentation</h3>
<ul>
<li>Fix link to structopt migration guide</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.13] - 2024-01-04</h2>
<h3>Documentation</h3>
<ul>
<li>Fix link to structopt migration guide</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2ab48b295c"><code>2ab48b2</code></a>
chore: Release</li>
<li><a
href="7a06a8cd61"><code>7a06a8c</code></a>
docs: Update changelog</li>
<li><a
href="cca190efed"><code>cca190e</code></a>
docs: Correct link to StructOpt migration guide</li>
<li><a
href="5c31f453c1"><code>5c31f45</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5281">#5281</a>
from Manishearth/safety-docs</li>
<li><a
href="ddae7e6f41"><code>ddae7e6</code></a>
Correct safety docs</li>
<li><a
href="48d28aa689"><code>48d28aa</code></a>
chore: Release</li>
<li><a
href="748ce18cc2"><code>748ce18</code></a>
docs: Update changelog</li>
<li><a
href="adbe6ec4cb"><code>adbe6ec</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5278">#5278</a>
from henry-hsieh/fix-nosort</li>
<li><a
href="2b48858ba8"><code>2b48858</code></a>
fix: Skip nosort option below bash 4.4</li>
<li><a
href="777b744102"><code>777b744</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5277">#5277</a>
from clap-rs/renovate/actions-setup-python-5.x</li>
<li>Additional commits viewable in <a
href="https://github.com/clap-rs/clap/compare/v4.4.12...v4.4.13">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 02:29:43 +00:00
dependabot[bot]
82b108401a
chore(deps): Bump serde_json from 1.0.110 to 1.0.111 (#1116)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.110 to
1.0.111.
<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.111</h2>
<ul>
<li>Improve floating point parsing performance on loongarch64 (<a
href="https://redirect.github.com/serde-rs/json/issues/1100">#1100</a>,
thanks <a
href="https://github.com/heiher"><code>@​heiher</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0131ac6821"><code>0131ac6</code></a>
Release 1.0.111</li>
<li><a
href="96ecfadd3f"><code>96ecfad</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1100">#1100</a>
from heiher/limb-64-la64</li>
<li><a
href="c80dbaf8ff"><code>c80dbaf</code></a>
Set limb width to 64 for loongarch64</li>
<li>See full diff in <a
href="https://github.com/serde-rs/json/compare/v1.0.110...v1.0.111">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.110&new-version=1.0.111)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 02:28:23 +00:00
Yuri Astrakhan
be5a5b622d lock 2024-01-02 13:10:45 -05:00
dependabot[bot]
bd6958947e
chore(deps): Bump serde_json from 1.0.108 to 1.0.109 (#1113)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to
1.0.109.
<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.109</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f88bf1fccb"><code>f88bf1f</code></a>
Release 1.0.109</li>
<li><a
href="bb62c73ece"><code>bb62c73</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1097">#1097</a>
from serde-rs/doccfg</li>
<li><a
href="df36d109fd"><code>df36d10</code></a>
Restore doc cfg on re-exports</li>
<li><a
href="c367091342"><code>c367091</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1095">#1095</a>
from dtolnay/hashtest</li>
<li><a
href="b328ee7df4"><code>b328ee7</code></a>
Eliminate hash closure in favor of calling hash_one directly</li>
<li><a
href="b9bcbad3c0"><code>b9bcbad</code></a>
Use BuildHasher::hash_one</li>
<li><a
href="7ff6c9e30c"><code>7ff6c9e</code></a>
Use random hasher state for number hashing test</li>
<li><a
href="fe031cd1de"><code>fe031cd</code></a>
Delete trace_macros! functionality from test</li>
<li><a
href="05196caf16"><code>05196ca</code></a>
Update ui test suite to nightly-2023-11-19</li>
<li>See full diff in <a
href="https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109">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.108&new-version=1.0.109)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 02:32:38 +00:00
Yuri Astrakhan
3dc54d7f9e
Implement tile caching (#1105)
Add a top level config parameter -- the size of cache memory (in MB) to
use for caching tiles and PMT directories, defaulting to 512, and 0 to
disable. This also removes the `pmtiles.dir_cache_size_mb` parameter (it
will be ignored, but will give a warning)

```
cache_size_mb: 512
```

The new cache will contain all tiles as provided by the source. So if
PostgreSQL returns a non-compressed tile, the cache will contain the
uncompressed variant, and will be compressed for each response. This
will be fixed in the later releases.

Note that fonts and sprites are not cached at this time, and are still a
TODO.
2023-12-30 22:48:23 -05:00
Yuri Astrakhan
4f7487b448
Deprecate few things, lock and lints (#1111)
* Remove `CA_ROOT_FILE` env var support (has been deprecated for a
while)
* Remove `WATCH_MODE` env var warning - has not been in use since a long
time ago
* minor lints/clippy suggestions, lock update
2023-12-30 12:47:23 -05:00
dependabot[bot]
a44c7d5976
chore(deps): Bump clap from 4.4.11 to 4.4.12 (#1110)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.11 to 4.4.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.12</h2>
<h2>[4.4.12] - 2023-12-28</h2>
<h3>Performance</h3>
<ul>
<li>Only ask <code>TypedValueParser</code> for possible values if
needed</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.12] - 2023-12-28</h2>
<h3>Performance</h3>
<ul>
<li>Only ask <code>TypedValueParser</code> for possible values if
needed</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6d601e6f31"><code>6d601e6</code></a>
chore: Release</li>
<li><a
href="048e7f0fbc"><code>048e7f0</code></a>
docs: Update changelog</li>
<li><a
href="53f5b82098"><code>53f5b82</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5267">#5267</a>
from vermiculus/sa/avoid-pv-expansion-in-help</li>
<li><a
href="05cd057978"><code>05cd057</code></a>
perf: Avoid retrieving possible_values unless used</li>
<li><a
href="29208083b0"><code>2920808</code></a>
test: Update snapshots</li>
<li><a
href="28763ebb6d"><code>28763eb</code></a>
chore: Release</li>
<li><a
href="ace7bb5b45"><code>ace7bb5</code></a>
docs(complete): Update changelog</li>
<li><a
href="76beca4d4d"><code>76beca4</code></a>
docs(complete): Polish API reference for dynamic</li>
<li><a
href="3630e582d3"><code>3630e58</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5273">#5273</a>
from epage/docsrs</li>
<li><a
href="3724b9e2e4"><code>3724b9e</code></a>
docs: Include more content on docs.rs</li>
<li>See full diff in <a
href="https://github.com/clap-rs/clap/compare/v4.4.11...v4.4.12">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29 02:51:18 +00:00
dependabot[bot]
f932f0103f
chore(deps): Bump moka from 0.12.1 to 0.12.2 (#1109)
Bumps [moka](https://github.com/moka-rs/moka) from 0.12.1 to 0.12.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.12.2</h2>
<h3>Fixed</h3>
<ul>
<li>Prevent timing issues in writes that cause inconsistencies between
the cache's
internal data structures (<a
href="https://redirect.github.com/moka-rs/moka/issues/348">#348</a>[gh-pull-0348]):
<ul>
<li>One way to trigger the issue is that insert the same key twice
quickly, once
when the cache is full and a second time when there is a room in the
cache.
<ul>
<li>When it occurs, the cache will not return the value inserted in the
second
call (which is wrong), and the <code>entry_count</code> method will keep
returning a non
zero value after calling the <code>invalidate_all</code> method (which
is also wrong).</li>
</ul>
</li>
</ul>
</li>
<li>Now the last access time of a cached entry is updated immediately
after the entry
is read (<a
href="https://redirect.github.com/moka-rs/moka/issues/363">#363</a>[gh-pull-0363]):
<ul>
<li>When the time-to-idle of a cache is set, the last access time of a
cached entry
is used to determine if the entry has been expired.</li>
<li>Before this fix, the access time was updated (to the time when it
was read)
when pending tasks were processed. This delay caused issue that some
entries
become temporarily unavailable for reads even though they have been
accessed
recently. And then they will become available again after the pending
tasks are
processed.</li>
<li>Now the last access time is updated immediately after the entry is
read. The
entry will remain valid until the time-to-idle has elapsed.</li>
</ul>
</li>
</ul>
<p>Note that both of <a
href="https://redirect.github.com/moka-rs/moka/issues/348">#348</a>[gh-pull-0348]
and <a
href="https://redirect.github.com/moka-rs/moka/issues/363">#363</a>[gh-pull-0363]
were already present
in <code>v0.11.x</code> and older versions. However they were less
likely to occur because they
had background threads to periodically process pending tasks. So there
were much
shorter time windows for these issues to occur.</p>
<h3>Changed</h3>
<ul>
<li>Updated the Rust edition from 2018 to 2021. (<a
href="https://redirect.github.com/moka-rs/moka/issues/339">#339</a>[gh-pull-0339],
by
[<a
href="https://github.com/nyurik"><code>@​nyurik</code></a>][gh-nyurik])
<ul>
<li>The MSRV remains at Rust 1.65.</li>
</ul>
</li>
<li>Changed to use inline format arguments throughout the code,
including examples.
(<a
href="https://redirect.github.com/moka-rs/moka/issues/340">#340</a>[gh-pull-0340],
by [<a
href="https://github.com/nyurik"><code>@​nyurik</code></a>][gh-nyurik])</li>
</ul>
<h3>Added</h3>
<ul>
<li>Added an example for cascading drop triggered by eviction (<a
href="https://redirect.github.com/moka-rs/moka/issues/350">#350</a>[gh-pull-0350],
by
[<a
href="https://github.com/peter-scholtens"><code>@​peter-scholtens</code></a>][gh-peter-scholtens])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="46a678b1a3"><code>46a678b</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/364">#364</a> from
moka-rs/prepare-v0.12.2</li>
<li><a
href="cdb002815a"><code>cdb0028</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/365">#365</a> from
moka-rs/tweak-cascading-drop-example</li>
<li><a
href="7d8f64fce5"><code>7d8f64f</code></a>
Fix a Clippy warning</li>
<li><a
href="cc3bbc3192"><code>cc3bbc3</code></a>
Update the cascading drop example to be more stable on different
platforms</li>
<li><a
href="e63c842c9d"><code>e63c842</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/350">#350</a> from
peter-scholtens/main</li>
<li><a
href="430dca1c1d"><code>430dca1</code></a>
Update the change log</li>
<li><a
href="b0c42ab7d6"><code>b0c42ab</code></a>
Update the change log</li>
<li><a
href="8e54573779"><code>8e54573</code></a>
Prepare for <code>v0.12.2</code> release</li>
<li><a
href="1c302a0e77"><code>1c302a0</code></a>
Merge branch 'moka-rs:main' into main</li>
<li><a
href="4e26b76d56"><code>4e26b76</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/363">#363</a> from
moka-rs/update-access-time-immediately</li>
<li>Additional commits viewable in <a
href="https://github.com/moka-rs/moka/compare/v0.12.1...v0.12.2">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29 02:50:49 +00:00
Yuri Astrakhan
e3821b8d78 better bench test 2023-12-27 14:53:12 -05:00
Yuri Astrakhan
702f8c39d1 update lock 2023-12-27 01:01:37 -05:00
dependabot[bot]
04d5b80f70
chore(deps): Bump anyhow from 1.0.76 to 1.0.77 (#1108)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.76 to 1.0.77.
<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.77</h2>
<ul>
<li>Make <code>anyhow::Error::backtrace</code> available on stable Rust
compilers 1.65+ (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/293">#293</a>,
thanks <a
href="https://github.com/LukasKalbertodt"><code>@​LukasKalbertodt</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="199c6252b1"><code>199c625</code></a>
Release 1.0.77</li>
<li><a
href="b6ac995153"><code>b6ac995</code></a>
Touch up PR 293</li>
<li><a
href="684c231705"><code>684c231</code></a>
Merge pull request 293 from LukasKalbertodt/use-stable-backtrace</li>
<li><a
href="43f4af09a8"><code>43f4af0</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/333">#333</a>
from dtolnay/stablebacktrace</li>
<li><a
href="26b0a26b1f"><code>26b0a26</code></a>
Turn on cfg(std_backtrace) on new enough stable rustc</li>
<li><a
href="ad30865669"><code>ad30865</code></a>
Format with rustfmt</li>
<li><a
href="1a5f7c8d98"><code>1a5f7c8</code></a>
backtrace -&gt; std_backtrace</li>
<li><a
href="53109e6f94"><code>53109e6</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/332">#332</a>
from dtolnay/stdbacktrace</li>
<li><a
href="df47705cb1"><code>df47705</code></a>
Rename cfg(backtrace) -&gt; cfg(std_backtrace)</li>
<li><a
href="cf661949e8"><code>cf66194</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/331">#331</a>
from dtolnay/backtrace</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/anyhow/compare/1.0.76...1.0.77">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.76&new-version=1.0.77)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-27 03:15:11 +00:00
Yuri Astrakhan
61d3286815
Lots of small refactorings (#1107)
* Use `Option<&T>` instead of `&Option<T>` in function arguments.
* Cleaner var names
* Slight optimization of `get_tile` with query params
* Split up srv/server.rs into fonts, sprites, tiles, and tiles_info
files
* better error reporting in tests
2023-12-26 07:43:47 +00:00
dependabot[bot]
c98b0ec323
chore(deps): Bump thiserror from 1.0.51 to 1.0.52 (#1106)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.51 to
1.0.52.
<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.52</h2>
<ul>
<li>Fix interaction with RUSTC_BOOTSTRAP (<a
href="https://redirect.github.com/dtolnay/thiserror/issues/269">#269</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="be83323c0f"><code>be83323</code></a>
Release 1.0.52</li>
<li><a
href="c89ee6cd03"><code>c89ee6c</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/269">#269</a>
from dtolnay/bootstrap</li>
<li><a
href="af1665218f"><code>af16652</code></a>
Rerun build script on RUSTC_BOOTSTRAP change</li>
<li><a
href="d160dd2af7"><code>d160dd2</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/267">#267</a>
from dtolnay/useunderscore</li>
<li><a
href="6b00235610"><code>6b00235</code></a>
Leave private traits' name out of scope</li>
<li><a
href="c3838bd7c5"><code>c3838bd</code></a>
Add a funding file</li>
<li><a
href="87466d2a25"><code>87466d2</code></a>
Update name of blocks_in_if_conditions clippy lint</li>
<li>See full diff in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52">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.51&new-version=1.0.52)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 02:46:18 +00:00
Yuri Astrakhan
2def6288f1
PMTiles cache, refactor file configs, modularize (#1094)
* Make it possible to have configuration specific to the file-based
config sections: pmtiles, mbtiles, and sprites.
* Implement PMTiles directory cache shared between all pmtiles (both
http and local), with configurable max cache size (in MB), or 0 to
disable. Defaults to 32MB (?)
* PMTiles now share web client instance, which optimizes connection
reuse in case multiple pmtiles reside on the same host
* Major refactoring to allow modular reuse, enabling the following build
features:
    * **postgres** - enable PostgreSQL/PostGIS tile sources
    * **pmtiles** - enable PMTile tile sources
    * **mbtiles** - enable MBTile tile sources
    * **fonts** - enable font sources
    * **sprites** - enable sprite sources
* Use justfile in the CI

Fixes #1093
2023-12-25 05:52:04 +00:00
Yuri Astrakhan
7ff2f5105a bump deps and lock 2023-12-24 23:50:37 -05:00
dependabot[bot]
3939619e11
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<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.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</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.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="de1a0fd64a"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="68d284545f"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="fdd2ce716c"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="272a3c709f"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="c179201bd1"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="e6735f3d01"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="04d01a00a2"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="e4aa659649"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="17851c1f05"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="49107994e5"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">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.29&new-version=0.3.30)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 03:25:39 +00:00
dependabot[bot]
723f3bcb26
chore(deps): Bump actix-web from 4.4.0 to 4.4.1 (#1100)
Bumps [actix-web](https://github.com/actix/actix-web) from 4.4.0 to
4.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actix/actix-web/releases">actix-web's
releases</a>.</em></p>
<blockquote>
<h2>actix-web: v4.4.1</h2>
<h3>Changed</h3>
<ul>
<li>Updated <code>zstd</code> dependency to <code>0.13</code>.</li>
<li>Compression middleware now prefers brotli over zstd over gzip.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix validation of <code>Json</code> extractor when
<code>JsonConfig::validate_content_type()</code> is set to false.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="68597b5426"><code>68597b5</code></a>
build(deps): bump taiki-e/install-action from 2.22.0 to 2.23.0 (<a
href="https://redirect.github.com/actix/actix-web/issues/3228">#3228</a>)</li>
<li><a
href="9dc3ad754e"><code>9dc3ad7</code></a>
chore(actix-web): prepare release 4.4.1</li>
<li><a
href="17060ed993"><code>17060ed</code></a>
chore(awc): prepare release 3.3.0</li>
<li><a
href="0d9ca4d939"><code>0d9ca4d</code></a>
chore(actix-http): prepare release 3.5.0</li>
<li><a
href="ff2904ee78"><code>ff2904e</code></a>
ci: prevent cargo-cache install failing MSRV builds</li>
<li><a
href="fdef224a06"><code>fdef224</code></a>
docs: document internal Path fields</li>
<li><a
href="ede0201aa4"><code>ede0201</code></a>
docs: fix derive readme version</li>
<li><a
href="271edafd4d"><code>271edaf</code></a>
docs: add router readme</li>
<li><a
href="5e5e5d8315"><code>5e5e5d8</code></a>
chore: remove allow(uninlined_format_args)</li>
<li><a
href="c7a0af31d3"><code>c7a0af3</code></a>
docs: doc and metadata tweaks</li>
<li>Additional commits viewable in <a
href="https://github.com/actix/actix-web/compare/web-v4.4.0...web-v4.4.1">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 03:21:09 +00:00
Yuri Astrakhan
a68ebcdf5b lint pmtiles macro call 2023-12-23 22:02:32 -05:00
Yuri Astrakhan
1a8e7c89a4
Implement http pmtiles (#991)
PMTiles is a web-optimized format, allowing the actual file to be read
with HTTP range requests. Supporting this use case instantly allows
Martin to function as a lambda executable accessing PMTiles, but without
any significant investment into devops or hosting large file.

PMTiles config now also allows `http` and `https` protocol.

```
# Publish PMTiles files
pmtiles:
  paths:
    # specific pmtiles file will be published as mypmtiles source
    # (use last portion of the URL without extension)
    - http://example.org/path/to/mypmtiles.pmtiles
  sources:
    # named source matching source name to a single file
    pm-src1: https://example.org/path/to/some_pmtiles.pmtiles
 ```

fixes #884

---------

Co-authored-by: Kyle Slugg-Urbino <35903887+kyleslugg@users.noreply.github.com>
2023-12-22 06:01:50 +00:00
Yuri Astrakhan
9cca5df4c6 lock file 2023-12-21 18:35:52 -05:00
dependabot[bot]
597dae8936
chore(deps): Bump async-trait from 0.1.74 to 0.1.75 (#1091)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.74
to 0.1.75.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/async-trait/releases">async-trait's
releases</a>.</em></p>
<blockquote>
<h2>0.1.75</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="034d8db0b8"><code>034d8db</code></a>
Release 0.1.75</li>
<li><a
href="0d469fcea4"><code>0d469fc</code></a>
Add a funding file</li>
<li><a
href="b4a3886153"><code>b4a3886</code></a>
Update ui test suite to nightly-2023-11-20</li>
<li><a
href="5f041087a9"><code>5f04108</code></a>
Update ui test suite to nightly-2023-10-31</li>
<li>See full diff in <a
href="https://github.com/dtolnay/async-trait/compare/0.1.74...0.1.75">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 03:23:38 +00:00
dependabot[bot]
91de5150b9
chore(deps): Bump serde_yaml from 0.9.27 to 0.9.28 (#1092)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.27 to
0.9.28.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1b6e44837f"><code>1b6e448</code></a>
Release 0.9.28</li>
<li><a
href="ec1a3145d7"><code>ec1a314</code></a>
Force unsafe-libyaml version that contains unaligned write fix</li>
<li><a
href="a6b2dc075a"><code>a6b2dc0</code></a>
Update name of blocks_in_if_conditions clippy lint</li>
<li>See full diff in <a
href="https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.28">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 03:21:53 +00:00