Auto merge of #27901 - servo:dependabot/cargo/jni-0.18.0, r=jdm

Bump jni from 0.16.0 to 0.18.0

Bumps [jni](https://github.com/jni-rs/jni-rs) from 0.16.0 to 0.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jni-rs/jni-rs/releases">jni's releases</a>.</em></p>
<blockquote>
<h2>Rust JNI 0.18.0</h2>
<h3>Added</h3>
<ul>
<li><code>JNIEnv#define_unnamed_class</code> function that allows loading a class without
specifying its name. The name is inferred from the class data. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/246">#246</a>)</li>
<li><code>SetStatic&lt;type&gt;Field</code>. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/248">#248</a>)</li>
<li><code>TryFrom&lt;JValue&gt;</code> for types inside JValue variants (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/264">#264</a>).</li>
<li>Implemented Copy for JNIEnv (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/255">#255</a>).</li>
<li><code>repr(transparent)</code> attribute to JavaVM struct (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/259">#259</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>⚠️ Switch from <code>error-chain</code> to <code>thiserror</code>, making all errors <code>Send</code>. Also, support all JNI errors
in the <code>jni_error_code_to_result</code> function and add more information to the <code>InvalidArgList</code>
error. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/pull/242">#242</a>)</li>
</ul>
<h2>Rust JNI 0.17.0</h2>
<h3>Added</h3>
<ul>
<li>Get/ReleaseByteArrayElements, and Get/ReleasePrimitiveArrayCritical. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/237">#237</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jni-rs/jni-rs/blob/master/CHANGELOG.md">jni's changelog</a>.</em></p>
<blockquote>
<h2>[0.18.0] — 2020-09-23</h2>
<h3>Added</h3>
<ul>
<li><code>JNIEnv#define_unnamed_class</code> function that allows loading a class without
specifying its name. The name is inferred from the class data. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/246">#246</a>)</li>
<li><code>SetStatic&lt;type&gt;Field</code>. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/248">#248</a>)</li>
<li><code>TryFrom&lt;JValue&gt;</code> for types inside JValue variants (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/264">#264</a>).</li>
<li>Implemented Copy for JNIEnv (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/255">#255</a>).</li>
<li><code>repr(transparent)</code> attribute to JavaVM struct (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/259">#259</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Switch from <code>error-chain</code> to <code>thiserror</code>, making all errors <code>Send</code>. Also, support all JNI errors
in the <code>jni_error_code_to_result</code> function and add more information to the <code>InvalidArgList</code>
error. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/pull/242">#242</a>)</li>
</ul>
<h2>[0.17.0] — 2020-06-30</h2>
<h3>Added</h3>
<ul>
<li>Get/ReleaseByteArrayElements, and Get/ReleasePrimitiveArrayCritical. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/237">#237</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="242c954589"><code>242c954</code></a> Bump the version to 0.18.0. (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/258">#258</a>)</li>
<li><a href="553d3b0e8d"><code>553d3b0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/259">#259</a> from aleksuss/javamv_transparent</li>
<li><a href="7ad5d33a1b"><code>7ad5d33</code></a> Merge branch 'master' into javamv_transparent</li>
<li><a href="b3fb6d3f5c"><code>b3fb6d3</code></a> Apply suggestions by beta and nightly clippy</li>
<li><a href="d7454200bf"><code>d745420</code></a> Remove redundant assertions and comment</li>
<li><a href="391b473b2d"><code>391b473</code></a> Implement <code>TryFrom\&lt;JValue&gt;</code> for JValue variants (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/264">#264</a>)</li>
<li><a href="fe4d075b0c"><code>fe4d075</code></a> Add changelog section to the 0.14.0 version (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/271">#271</a>)</li>
<li><a href="29ad78a036"><code>29ad78a</code></a> Clarify which changes go to the changelog (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/265">#265</a>)</li>
<li><a href="846d18845e"><code>846d188</code></a> Fix API documentation for JList (<a href="https://github-redirect.dependabot.com/jni-rs/jni-rs/issues/260">#260</a>)</li>
<li><a href="99163324be"><code>9916332</code></a> Remove redundant asserts in new_primitive_array_wrong test</li>
<li>Additional commits viewable in <a href="https://github.com/jni-rs/jni-rs/compare/v0.16.0...v0.18.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=jni&package-manager=cargo&previous-version=0.16.0&new-version=0.18.0)](https://dependabot.com/compatibility-score/?dependency-name=jni&package-manager=cargo&previous-version=0.16.0&new-version=0.18.0)

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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
This commit is contained in:
bors-servo 2020-12-03 09:39:19 -05:00 committed by GitHub
commit bc30cda347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 37 deletions

45
Cargo.lock generated
View file

@ -162,12 +162,6 @@ dependencies = [
"serde",
]
[[package]]
name = "ascii"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e"
[[package]]
name = "ash"
version = "0.31.0"
@ -822,15 +816,13 @@ checksum = "0dbbb57365263e881e805dc77d94697c9118fd94d8da011240555aa7b23445bd"
[[package]]
name = "combine"
version = "3.8.1"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680"
checksum = "b9417a0c314565e2abffaece67e95a8cb51f9238cd39f3764d9dfdf09e72b20c"
dependencies = [
"ascii",
"byteorder",
"either",
"bytes 0.5.5",
"memchr",
"unreachable",
"pin-project-lite",
]
[[package]]
@ -1595,16 +1587,6 @@ dependencies = [
"termcolor",
]
[[package]]
name = "error-chain"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be51ed50e75656c17216bdd4326914466db0c91b9b246b12962a00284d06566b"
dependencies = [
"backtrace",
"version_check",
]
[[package]]
name = "euclid"
version = "0.20.14"
@ -2968,15 +2950,15 @@ dependencies = [
[[package]]
name = "jni"
version = "0.16.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22bbdc25b49340bc4fc3d9c96dd84d878c4beeca35e3651efa53db51a68d7d4d"
checksum = "24967112a1e4301ca5342ea339763613a37592b8a6ce6cf2e4494537c7a42faf"
dependencies = [
"cesu8",
"combine",
"error-chain",
"jni-sys",
"log",
"thiserror",
"walkdir",
]
@ -4514,9 +4496,9 @@ dependencies = [
[[package]]
name = "pin-project-lite"
version = "0.1.7"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715"
checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b"
[[package]]
name = "pin-utils"
@ -6733,15 +6715,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
[[package]]
name = "unreachable"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56"
dependencies = [
"void",
]
[[package]]
name = "unwind-sys"
version = "0.1.1"

View file

@ -17,7 +17,7 @@ bench = false
android_injected_glue = "0.2"
android_logger = "0.8"
gstreamer = "0.15"
jni = "0.16.0"
jni = "0.18.0"
libc = "0.2"
log = "0.4"
serde_json = "1.0"