dependabot[bot] opened a new pull request, #3:
URL: https://github.com/apache/casbin-rust-json-adapter/pull/3

   Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.4.0 to 1.16.1.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/tokio-rs/tokio/releases";>tokio's releases</a>.</em></p>
   <blockquote>
   <h2>Tokio v1.16.1</h2>
   <h1>1.16.1 (January 28, 2022)</h1>
   <p>This release fixes a bug in <a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4428";>#4428</a> with 
the change <a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4437";>#4437</a>.</p>
   <p><a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4428";>#4428</a>: <a 
href="https://redirect.github.com/tokio-rs/tokio/pull/4428";>tokio-rs/tokio#4428</a>
   <a href="https://redirect.github.com/tokio-rs/tokio/issues/4437";>#4437</a>: 
<a 
href="https://redirect.github.com/tokio-rs/tokio/pull/4437";>tokio-rs/tokio#4437</a></p>
   <h2>Tokio v1.16.0</h2>
   <p>Fixes a soundness bug in <code>io::Take</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4428";>#4428</a>). The 
unsoundness is exposed when
   leaking memory in the given <code>AsyncRead</code> implementation and then 
overwriting the
   supplied buffer:</p>
   <pre lang="rust"><code>impl AsyncRead for Buggy {
       fn poll_read(
           self: Pin&lt;&amp;mut Self&gt;,
           cx: &amp;mut Context&lt;'_&gt;,
           buf: &amp;mut ReadBuf&lt;'_&gt;
       ) -&gt; Poll&lt;Result&lt;()&gt;&gt; {
         let new_buf = vec![0; 5].leak();
         *buf = ReadBuf::new(new_buf);
         buf.put_slice(b&quot;hello&quot;);
         Poll::Ready(Ok(()))
       }
   }
   </code></pre>
   <p>Also, this release includes improvements to the multi-threaded scheduler 
that
   can increase throughput by up to 20% in some cases (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4383";>#4383</a>).</p>
   <h3>Fixed</h3>
   <ul>
   <li>io: <strong>soundness</strong> don't expose uninitialized memory when 
using <code>io::Take</code> in edge case (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4428";>#4428</a>)</li>
   <li>fs: ensure <code>File::write</code> results in a <code>write</code> 
syscall when the runtime shuts down (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4316";>#4316</a>)</li>
   <li>process: drop pipe after child exits in <code>wait_with_output</code> 
(<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4315";>#4315</a>)</li>
   <li>rt: improve error message when spawning a thread fails (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4398";>#4398</a>)</li>
   <li>rt: reduce false-positive thread wakups in the multi-threaded scheduler 
(<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4383";>#4383</a>)</li>
   <li>sync: don't inherit <code>Send</code> from 
<code>parking_lot::*Guard</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4359";>#4359</a>)</li>
   </ul>
   <h3>Added</h3>
   <ul>
   <li>net: <code>TcpSocket::linger()</code> and <code>set_linger()</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4324";>#4324</a>)</li>
   <li>net: impl <code>UnwindSafe</code> for socket types (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4384";>#4384</a>)</li>
   <li>rt: impl <code>UnwindSafe</code> for <code>JoinHandle</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4418";>#4418</a>)</li>
   <li>sync: <code>watch::Receiver::has_changed()</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4342";>#4342</a>)</li>
   <li>sync: <code>oneshot::Receiver::blocking_recv()</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4334";>#4334</a>)</li>
   <li>sync: <code>RwLock</code> blocking operations (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4425";>#4425</a>)</li>
   </ul>
   <h3>Unstable</h3>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/91b98505059017808221aa6432aa7437b7100497";><code>91b9850</code></a>
 chore: prepare Tokio v1.16.1 release (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4438";>#4438</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/3c467056e92bb77a52b9c176375bb8780efc2996";><code>3c46705</code></a>
 io: fix take pointer check (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4437";>#4437</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/afd2189eec8b21075a98613ffc2e11c38b82d4b9";><code>afd2189</code></a>
 chore: prepare Tokio v1.16 release (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4431";>#4431</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/986b88b3f1617085f292f294fde30e75bb39f9fb";><code>986b88b</code></a>
 chore: update year in LICENSE files (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4429";>#4429</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/257053e40b740f1d877116b5df728c42bc6e4df4";><code>257053e</code></a>
 util: add <code>spawn_pinned</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/3370";>#3370</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/5af9e0db2bfe7cba9c1e25611743724863dcbd2a";><code>5af9e0d</code></a>
 sync: add blocking lock methods to <code>RwLock</code> (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4425";>#4425</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/8f77ee8609a5f31ce6109037d4a112c8a6876da9";><code>8f77ee8</code></a>
 net: add generic trait to combine UnixListener and TcpListener (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4385";>#4385</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/2747043f6f7e0870cc5aa72c146dfae9543c5ba8";><code>2747043</code></a>
 tests: enable running wasm32-unknown-unknown tests (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4421";>#4421</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/2a5071fc2df26f6b3683a2a765671f78a8b9de86";><code>2a5071f</code></a>
 feat: implement <code>Framed::map_codec</code>  (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4427";>#4427</a>)</li>
   <li><a 
href="https://github.com/tokio-rs/tokio/commit/621790e1656d15cd46c971e046cbcf3a7d0d8351";><code>621790e</code></a>
 io: fix <code>take</code> when using evil reader (<a 
href="https://redirect.github.com/tokio-rs/tokio/issues/4428";>#4428</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/tokio-rs/tokio/compare/tokio-1.4.0...tokio-1.16.1";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.4.0&new-version=1.16.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 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/apache/casbin-rust-json-adapter/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to